Bug 84070 - Update port: graphics/g3dviewer
Summary: Update port: graphics/g3dviewer
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 16:10 UTC by tkato432
Modified: 2005-07-26 23:34 UTC (History)
0 users

See Also:


Attachments
file.diff (773 bytes, patch)
2005-07-25 16:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2005-07-25 16:10:23 UTC
- Add "-fPIC" when building loadable modules
Comment 1 tkato432 2005-07-26 15:27:59 UTC
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
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-26 23:34:05 UTC
State Changed
From-To: open->closed

Committed, thanks!