ports/77120: Dirty hack to make ggz-client-libs detect libggz
Ying-Chieh Chen
yinjieh at csie.nctu.edu.tw
Sat Feb 5 05:30:17 UTC 2005
>Number: 77120
>Category: ports
>Synopsis: Dirty hack to make ggz-client-libs detect libggz
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 05 05:30:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Ying-Chieh Chen
>Release: 4.10-RELEASE-p4
>Organization:
MANA lab, CCU CS
>Environment:
FreeBSD nb.mana.cs.ccu.edu.tw 4.10-RELEASE-p4 FreeBSD 4.10-RELEASE-p4 #2: Thu Nov 25 15:14:47 CST 2004 root at nb.mana.cs.ccu.edu.tw:/usr/obj/usr/src/sys/KERNEL i386
>Description:
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!
>How-To-Repeat:
cd /usr/ports/games/ggz-client-libs; make configure
>Fix:
Apply the following patch:
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 @@
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>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list