- Add "-fPIC" when building loadable modules
Version 0.1.1 has come. 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 Tue Jul 26 21:10:36 2005 @@ -7,8 +7,7 @@ # PORTNAME= g3dviewer -PORTVERSION= 0.1.0 -PORTREVISION= 1 +PORTVERSION= 0.1.1 CATEGORIES= graphics MASTER_SITES= http://automagically.de/files/ @@ -23,13 +22,17 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +MAN1= g3dviewer.1 + CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include 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)|= $$(pkglibdir)|g ; \ + s|= -Wall|= -fPIC -Wall|g' ${WRKSRC}/${file} +.endfor .include <bsd.port.mk> diff -urN /usr/ports/graphics/g3dviewer/distinfo graphics/g3dviewer/distinfo --- /usr/ports/graphics/g3dviewer/distinfo Thu Jul 21 13:48:01 2005 +++ graphics/g3dviewer/distinfo Tue Jul 26 21:10:41 2005 @@ -1,2 +1,2 @@ -MD5 (g3dviewer-0.1.0.tar.gz) = 33f474dc77ef4df54dd380e3e1995a1d -SIZE (g3dviewer-0.1.0.tar.gz) = 156748 +MD5 (g3dviewer-0.1.1.tar.gz) = 1b2be262eef15aafa26bc33291a446b2 +SIZE (g3dviewer-0.1.1.tar.gz) = 184585 diff -urN /usr/ports/graphics/g3dviewer/pkg-plist graphics/g3dviewer/pkg-plist --- /usr/ports/graphics/g3dviewer/pkg-plist Fri Jul 22 19:41:04 2005 +++ graphics/g3dviewer/pkg-plist Tue Jul 26 21:13:26 2005 @@ -12,6 +12,7 @@ lib/g3dviewer/plugins/import/imp_nff.so lib/g3dviewer/plugins/import/imp_obj.so lib/g3dviewer/plugins/import/imp_q3o.so +lib/g3dviewer/plugins/import/imp_vrml.so %%DATADIR%%/pixmaps/icon16_material.xpm %%DATADIR%%/pixmaps/icon16_model.xpm %%DATADIR%%/pixmaps/icon16_plugins.xpm
State Changed From-To: open->closed Committed, thanks!