pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/povray In order to fix PR#30875, do the follo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bec1033ee5e7
branches: trunk
changeset: 497809:bec1033ee5e7
user: cube <cube%pkgsrc.org@localhost>
date: Thu Aug 04 21:31:24 2005 +0000
description:
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:
graphics/povray/Makefile | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r a31ecc63c003 -r bec1033ee5e7 graphics/povray/Makefile
--- a/graphics/povray/Makefile Thu Aug 04 21:11:48 2005 +0000
+++ b/graphics/povray/Makefile Thu Aug 04 21:31:24 2005 +0000
@@ -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 @@
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+= --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 @@
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"
Home |
Main Index |
Thread Index |
Old Index