summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2005-11-18 14:15:03 +0000
committeradam <adam@pkgsrc.org>2005-11-18 14:15:03 +0000
commitcb50d0a5206dffb8d983659a5ad624a3f99bc906 (patch)
tree636140b93d34eaf372352dde281b6d58c97480d2 /graphics
parent0c75bc22cf07b4ca3b88b9a0b8e67c48abde9389 (diff)
downloadpkgsrc-cb50d0a5206dffb8d983659a5ad624a3f99bc906.tar.gz
* Disable povray's optimisation which sets specific hardware flags
(we can build one povray for multiple CPUs) * Do not fix povray.ini, which is gone
Diffstat (limited to 'graphics')
-rw-r--r--graphics/povray/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/graphics/povray/Makefile b/graphics/povray/Makefile
index f26f3237e99..556e6b38a50 100644
--- a/graphics/povray/Makefile
+++ b/graphics/povray/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2005/08/04 21:31:24 cube Exp $
+# $NetBSD: Makefile,v 1.29 2005/11/18 14:15:03 adam Exp $
DISTNAME= povray-3.6.1
PKGREVISION= 2
@@ -16,16 +16,17 @@ LICENSE= povray-license
BUILDLINK_DEPENDS.zlib= zlib>=1.2.1
USE_LANGUAGES= c c++
-USE_PKGINSTALL= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+USE_PKGINSTALL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --disable-optimiz
CONFIGURE_ARGS+= --enable-strip
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ENV+= COMPILED_BY="The NetBSD Packages Collection"
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == x86_64
-GCC_REQD= 3.4
+GCC_REQD+= 3.4
.endif
PLIST_SUBST+= POVRAY=povray-3.6
@@ -34,12 +35,6 @@ EGDIR= ${PREFIX}/share/examples/povray
CONF_FILES= ${EGDIR}/povray.conf ${PKG_SYSCONFDIR}/povray.conf
CONF_FILES+= ${EGDIR}/povray.ini ${PKG_SYSCONFDIR}/povray.ini
-SUBST_CLASSES+= povini
-SUBST_MESSAGE.povini= "Fixing Library_Path in povray.ini."
-SUBST_FILES.povini= povray.ini
-SUBST_SED.povini= -e 's|/usr/local|${PREFIX}|'
-SUBST_STAGE.povini= post-patch
-
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/povray-3.6/scripts
@@ -48,5 +43,4 @@ pre-install:
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"