summaryrefslogtreecommitdiff
path: root/graphics/povray
diff options
context:
space:
mode:
authoradam <adam>2005-11-18 14:15:03 +0000
committeradam <adam>2005-11-18 14:15:03 +0000
commit8fb1d3a356e1726d1ca1d7ff5072d942af391c37 (patch)
tree636140b93d34eaf372352dde281b6d58c97480d2 /graphics/povray
parentd6179b500e15799927ed86fd20e6bbd0bac44116 (diff)
downloadpkgsrc-8fb1d3a356e1726d1ca1d7ff5072d942af391c37.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/povray')
-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"