Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Feb 2002 22:48:29 +0900 (JST)
From:      Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34528: devel/boehm-gc is not LOCALBASE clean
Message-ID:  <20020201.224829.123572725.tu7k-kbt@asahi-net.or.jp>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201.224829.123572725.tu7k-kbt>