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
commit7863913be2b9c61da067619f1982147d4a672d38 (patch)
tree636140b93d34eaf372352dde281b6d58c97480d2 /graphics/povray
parent5ea2fa7858ae11fed4d43593ed21202aa5a5e868 (diff)
downloadpkgsrc-7863913be2b9c61da067619f1982147d4a672d38.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"