ports/182883: [maintainer update] graphics/opennurbs STAGEDIR support
Fernando
fernando.apesteguia at gmail.com
Thu Oct 10 21:20:00 UTC 2013
>Number: 182883
>Category: ports
>Synopsis: [maintainer update] graphics/opennurbs STAGEDIR support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 10 21:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Fernando
>Release: 9.1-RELEASE
>Organization:
Open Sistemas
>Environment:
FreeBSD beastie 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Tue Jun 11 18:21:20 CEST 2013 root at beastie:/usr/obj/usr/src/sys/APEKERNEL-9.1 amd64
>Description:
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.
>How-To-Repeat:
>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:
diff -ruN /usr/ports/graphics/opennurbs/Makefile graphics/opennurbs/Makefile
--- /usr/ports/graphics/opennurbs/Makefile 2013-09-27 16:38:01.000000000 +0200
+++ graphics/opennurbs/Makefile 2013-10-09 19:33:18.000000000 +0200
@@ -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 at gmail.com
COMMENT= Tools to accurately transfer 3-D geometry between applications
@@ -18,7 +18,7 @@
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>
@@ -32,13 +32,13 @@
@${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>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list