This patch makes graphics/opennurbs compile and package the software correctly with the new STAGEDIR feature. Be aware that this patch also changes the position of the PORTREVISION variable. So the PR: ports/182491: [maintainer update] 'unbreaking' port test in graphics/opennurbs Is not necessary if this one is committed first. This port needs to work in order to make others like cad/openvsp work properly. Fix: Apply the attached patch. Tested in redports.org [1]https://redports.org/~fernape/20131009174000-25030-151134/opennurbs-20121024_1.log [2] https://redports.org/~fernape/20131009174000-25030-151135/opennurbs-20121024_1.log Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->danilo I'll take it.
Author: danilo Date: Sat Oct 12 02:45:50 2013 New Revision: 330112 URL: http://svnweb.freebsd.org/changeset/ports/330112 Log: - Add stage support PR: ports/182883 Submitted by: Fernando <fernando.apesteguia@gmail.com> (maintainer) Approved by: wg/culot (mentors, implicit) Modified: head/graphics/opennurbs/Makefile Modified: head/graphics/opennurbs/Makefile ============================================================================== --- head/graphics/opennurbs/Makefile Sat Oct 12 02:24:14 2013 (r330111) +++ head/graphics/opennurbs/Makefile Sat Oct 12 02:45:50 2013 (r330112) @@ -3,11 +3,11 @@ PORTNAME= opennurbs PORTVERSION= 20121024 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://files.na.mcneel.com/opennurbs/5.0/2012-10-24/ MASTER_SITE_SUBDIR=${PORTNAME}_${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION} -PORTREVISION= 1 MAINTAINER= fernando.apesteguia@gmail.com COMMENT= Tools to accurately transfer 3-D geometry between applications @@ -18,9 +18,8 @@ USES= iconv:build gmake MAKE_ARGS= CC=${CC} CCC=${CXX} MAKEFILE= makefile -EXAMPLESDIR= ${PREFIX}/libexec/openNURBS +EXAMPLESDIR= ${STAGEDIR}${PREFIX}/libexec/openNURBS -NO_STAGE= yes .include <bsd.port.pre.mk> .if ${ARCH} != i386 @@ -32,13 +31,13 @@ pre-build: @${MV} ${WRKSRC}/opennurbs_version.h.tmp ${WRKSRC}/opennurbs_version.h do-install: - @${INSTALL_DATA} ${WRKSRC}/libopenNURBS.a ${PREFIX}/lib + @${INSTALL_DATA} ${WRKSRC}/libopenNURBS.a ${STAGEDIR}${PREFIX}/lib @${MKDIR} ${EXAMPLESDIR} .for i in brep read roundtrip userdata write @${INSTALL_PROGRAM} ${WRKSRC}/example_${i}/example_${i} ${EXAMPLESDIR} .endfor - @${MKDIR} ${PREFIX}/include/openNURBS/zlib - @${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/openNURBS/ - @${INSTALL_DATA} ${WRKSRC}/zlib/*.h ${PREFIX}/include/openNURBS/zlib + @${MKDIR} ${STAGEDIR}${PREFIX}/include/openNURBS/zlib + @${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/openNURBS/ + @${INSTALL_DATA} ${WRKSRC}/zlib/*.h ${STAGEDIR}${PREFIX}/include/openNURBS/zlib .include <bsd.port.post.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!