summaryrefslogtreecommitdiff
path: root/graphics/povray
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
commit98db6402d427ba965d014d308c6213675cc5e330 (patch)
tree7dabad7173258daf4c6d0ff8780e3c524a76d729 /graphics/povray
parentebc9f3fbf81ae714bc81b75f51758b049cf48501 (diff)
downloadpkgsrc-98db6402d427ba965d014d308c6213675cc5e330.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/povray')
-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"