diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-10-04 07:13:16 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-10-04 07:13:16 +0000 |
commit | 10f266c4f0e5915f245b0183068297b65635cd8a (patch) | |
tree | 3d1905240c42f38d5be377dc80ba9931b83b85e4 /graphics/blender/Makefile | |
parent | 5c948683eeab2c1a509dbf6ab6151d333eefba3c (diff) | |
download | ports-10f266c4f0e5915f245b0183068297b65635cd8a.tar.gz ports-10f266c4f0e5915f245b0183068297b65635cd8a.zip |
Add a dependency on compat4x if building on 5.X systems or higher.
Reported by: kris
Approved by: portmgr (implicit)
Notes
Notes:
svn path=/head/; revision=118530
Diffstat (limited to 'graphics/blender/Makefile')
-rw-r--r-- | graphics/blender/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile index 0c880b959a05..e96203c8b826 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -7,6 +7,7 @@ PORTNAME= blender PORTVERSION= 2.25 +PORTREVISION= 1 CATEGORIES= graphics games MASTER_SITES= http://download.blender.org/release/Publisher${PORTVERSION}/ DISTNAME= blender-publisher-${PORTVERSION}-freebsd-4.2-i386 @@ -20,6 +21,12 @@ NO_BUILD= YES ONLY_FOR_ARCHS= i386 USE_MESA= YES +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 500000 +LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/blenderplayer ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/blenderpublisher ${PREFIX}/bin @@ -39,4 +46,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/copyright.txt ${PREFIX}/share/doc/blender ${INSTALL_DATA} ${WRKSRC}/playerlicense.txt ${PREFIX}/share/doc/blender -.include <bsd.port.mk> +.include <bsd.port.post.mk> |