ports/84070: Update port: graphics/g3dviewer
KATO Tsuguru
tkato432 at yahoo.com
Mon Jul 25 15:10:28 UTC 2005
>Number: 84070
>Category: ports
>Synopsis: Update port: graphics/g3dviewer
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 25 15:10:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Add "-fPIC" when building loadable modules
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/g3dviewer/Makefile graphics/g3dviewer/Makefile
--- /usr/ports/graphics/g3dviewer/Makefile Fri Jul 22 19:41:03 2005
+++ graphics/g3dviewer/Makefile Mon Jul 25 22:06:37 2005
@@ -27,9 +27,11 @@
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
post-patch:
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|$$(pkgdatadir)/plugins/|$$(pkglibdir)/plugins/|g'
@${REINPLACE_CMD} -e 's|DBG_CFLAGS="-O2"|DBG_CFLAGS=""|g ; \
s|$$datadir/$$PACKAGE/|$$libdir/$$PACKAGE/|g' ${WRKSRC}/configure
+.for file in plugins/image/Makefile.in plugins/import/Makefile.in
+ @${REINPLACE_CMD} -e 's|$$(pkgdatadir)/plugins|$$(pkglibdir)/plugins|g ; \
+ s|= -Wall|= -fPIC -Wall|g' ${WRKSRC}/${file}
+.endfor
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list