* 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
This commit is contained in:
parent
0c75bc22cf
commit
cb50d0a520
1 changed files with 6 additions and 12 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue