summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2005-08-04 21:31:24 +0000
committercube <cube@pkgsrc.org>2005-08-04 21:31:24 +0000
commit196376603e22e29e50a3bebf7cb1136aa00aaab6 (patch)
tree7dabad7173258daf4c6d0ff8780e3c524a76d729 /graphics
parentd0c54010a38b7185342a2fd2a3f26d78c4ec416a (diff)
downloadpkgsrc-196376603e22e29e50a3bebf7cb1136aa00aaab6.tar.gz
In order to fix PR#30875, do the following things:
o require at least gcc 3.4 on x86_64, as 3.3 gets an ICE. o depends on zlib>=1.2.1, which is povray's requirement, so that the package doesn't try to use its own zlib and libtiff (for some reason configure fails to configure the provided libs properly when gcc 3.4 is used) Bump PKGREVISION.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/povray/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/povray/Makefile b/graphics/povray/Makefile
index 196eefd1fe5..f26f3237e99 100644
--- a/graphics/povray/Makefile
+++ b/graphics/povray/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2005/06/01 18:02:57 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2005/08/04 21:31:24 cube Exp $
DISTNAME= povray-3.6.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.povray.org/pub/povray/Official/Unix/ \
ftp://ftp.mirror.ac.uk/sites/ftp.povray.org/pub/povray/Official/Unix/
@@ -13,6 +13,8 @@ COMMENT= Persistence of Vision Ray Tracer
LICENSE= povray-license
+BUILDLINK_DEPENDS.zlib= zlib>=1.2.1
+
USE_LANGUAGES= c c++
USE_PKGINSTALL= YES
GNU_CONFIGURE= YES
@@ -20,6 +22,12 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --enable-strip
CONFIGURE_ENV+= COMPILED_BY="The NetBSD Packages Collection"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == x86_64
+GCC_REQD= 3.4
+.endif
+
PLIST_SUBST+= POVRAY=povray-3.6
EGDIR= ${PREFIX}/share/examples/povray
@@ -35,6 +43,7 @@ SUBST_STAGE.povini= post-patch
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/povray-3.6/scripts
+.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"