From owner-freebsd-ports Fri Feb 1 5:50:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8F63237B417 for ; Fri, 1 Feb 2002 05:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g11Do2U56309; Fri, 1 Feb 2002 05:50:02 -0800 (PST) (envelope-from gnats) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by hub.freebsd.org (Postfix) with ESMTP id D1C8F37B405 for ; Fri, 1 Feb 2002 05:48:42 -0800 (PST) Received: from localhost (g032115.ppp.asahi-net.or.jp [211.132.32.115]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 72FE761A5 for ; Fri, 1 Feb 2002 22:48:40 +0900 (JST) Message-Id: <20020201.224829.123572725.tu7k-kbt@asahi-net.or.jp> Date: Fri, 01 Feb 2002 22:48:29 +0900 (JST) From: Kazutoshi Kubota To: FreeBSD-gnats-submit@freebsd.org Subject: ports/34528: devel/boehm-gc is not LOCALBASE clean Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34528 >Category: ports >Synopsis: devel/boehm-gc is not LOCALBASE clean >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 01 05:50:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Kazutoshi Kubota >Release: FreeBSD 4.5-RELEASE i386 >Organization: CBUG - Tokyo west area BSD Users Group >Environment: System: FreeBSD flea.willbe6.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Thu Jan 31 06:58:15 GMT 2002 root@flea.willbe6.org:/usr/obj/usr/src/sys/AVENTURE i386 >Description: libgc.* are always installed to /usr/local. >How-To-Repeat: Set LOCALBASE to /opt, then make install. libgc.a is not found in /opt/lib. >Fix: diff -urN boehm-gc.orig/Makefile boehm-gc/Makefile --- boehm-gc.orig/Makefile Fri Feb 1 13:15:55 2002 +++ boehm-gc/Makefile Fri Feb 1 13:28:28 2002 @@ -18,8 +18,12 @@ HAS_CONFIGURE= yes INSTALLS_SHLIB= yes +CONFIGURE_ARGS= --prefix=${PREFIX} MAN3= gc.3 + +post-patch: + @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/doc/gc.man post-install: ${INSTALL_DATA} ${WRKSRC}/include/gc.h ${PREFIX}/include diff -urN boehm-gc.orig/files/patch-ab boehm-gc/files/patch-ab --- boehm-gc.orig/files/patch-ab Fri Feb 1 13:15:55 2002 +++ boehm-gc/files/patch-ab Fri Feb 1 13:21:58 2002 @@ -21,9 +21,9 @@ +and +.I gc_cpp.h +will probably be found in -+.I /usr/local/include, ++.I %%LOCALBASE%%/include, +and the library in -+.I /usr/local/lib. ++.I %%LOCALBASE%%/lib. +.LP +This library has been compiled as drop-in replacements +for malloc and free (which is to say, all malloc >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message