From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 5 05:30:17 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86A2E16A4CE for ; Sat, 5 Feb 2005 05:30:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CFA843D41 for ; Sat, 5 Feb 2005 05:30:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j155UHKS094350 for ; Sat, 5 Feb 2005 05:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j155UHCL094348; Sat, 5 Feb 2005 05:30:17 GMT (envelope-from gnats) Resent-Date: Sat, 5 Feb 2005 05:30:17 GMT Resent-Message-Id: <200502050530.j155UHCL094348@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ying-Chieh Chen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11CBC16A4CE for ; Sat, 5 Feb 2005 05:23:46 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9B5E43D58 for ; Sat, 5 Feb 2005 05:23:45 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j155NjZ3088993 for ; Sat, 5 Feb 2005 05:23:45 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j155Nj1C088992; Sat, 5 Feb 2005 05:23:45 GMT (envelope-from nobody) Message-Id: <200502050523.j155Nj1C088992@www.freebsd.org> Date: Sat, 5 Feb 2005 05:23:45 GMT From: Ying-Chieh Chen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/77120: Dirty hack to make ggz-client-libs detect libggz X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 05:30:17 -0000 >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@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 >Release-Note: >Audit-Trail: >Unformatted: