| Summary: | Dirty hack to make ggz-client-libs detect libggz | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Ying-Chieh Chen <yinjieh> |
| Component: | Individual Port(s) | Assignee: | Pav Lucistnik <pav> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->feedback Does this have any effect outside the configure script? I just tried to build this and it found libggz (libraries NONE, includes /usr/local/include) and all the compiled binaries seems to be linked to -lggz ... Responsible Changed From-To: freebsd-ports-bugs->pav Watch State Changed From-To: feedback->closed Committed, thanks! |
In ggz-client-libs, the "configure" script detects libggz by locating ${PREFIX}/lib/libggz.la, but libggz.la is not installed in FreeBSD. The problem is solved in the current CVS tree, but before the next release appears, I should use a dirty hack to make the "configure" script detect libggz by locating ${PREFIX}/lib/libggz.so instead of ${PREFIX}/lib/libggz.la . PORTREVISION is also defined to reflect the dirty fix. Please commit it, thanks! Fix: Apply the following patch: PORTNAME= ggz-client-libs PORTVERSION= 0.0.10 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTVERSION} @@ -37,6 +38,7 @@ post-patch: @${REINPLACE_CMD} -e 's|LIBGGZ_INCLUDES=.*$$|LIBGGZ_INCLUDES=|g ; \ - s|LIBGGZ_LDFLAGS=.*$$|LIBGGZ_LDFLAGS=|g' ${WRKSRC}/configure + s|LIBGGZ_LDFLAGS=.*$$|LIBGGZ_LDFLAGS=|g ; \ + s|libggz.la|libggz.so|g' ${WRKSRC}/configure .include <bsd.port.mk>--yrd9NKz2gOtFhSAvgO6PNIVL01D33WFNcRpGQJBG5pmU8j35 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" diff -ruN /usr/ports/games/ggz-client-libs/Makefile ggz-client-libs/Makefile --- /usr/ports/games/ggz-client-libs/Makefile Fri Jan 28 17:56:50 2005 +++ ggz-client-libs/Makefile Sat Feb 5 10:31:01 2005 @@ -8,6 +8,7 @@ How-To-Repeat: cd /usr/ports/games/ggz-client-libs; make configure