Bug 34528 - devel/boehm-gc is not LOCALBASE clean
Summary: devel/boehm-gc is not LOCALBASE clean
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-01 13:50 UTC by Kazutoshi Kubota
Modified: 2002-02-02 11:40 UTC (History)
0 users

See Also:


Attachments
file.diff (898 bytes, patch)
2002-02-01 13:50 UTC, Kazutoshi Kubota
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kazutoshi Kubota 2002-02-01 13:50:02 UTC
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.
Comment 1 Patrick Li freebsd_committer freebsd_triage 2002-02-02 04:48:33 UTC
State Changed
From-To: open->closed

Fixed, Thanks!
Comment 2 tom.hurst 2002-02-02 11:12:22 UTC
* Kazutoshi Kubota (tu7k-kbt@asahi-net.or.jp) wrote:

> >Number:         34528
> >Category:       ports
> >Synopsis:       devel/boehm-gc is not LOCALBASE clean

> >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}

Shouldn't this be just HAS_CONFIGURE -> GNU_CONFIGURE?

# CONFIGURE_ARGS - Pass these args to configure if ${HAS_CONFIGURE} is
# set
#        (default: "--prefix=${PREFIX} ${CONFIGURE_TARGET}" if
#        GNU_CONFIGURE is set, "CC=${CC} CCFLAGS=${CFLAGS}
#        PREFIX=${PREFIX}" if PERL_CONFIGURE is set, empty otherwise).

Since presumably non-GNU configure grabs PREFIX from the environment.

-- 
Thomas 'Freaky' Hurst  -  freaky@aagh.net  -  http://www.aagh.net/
-
Your life would be very empty if you had nothing to regret.
Comment 3 Kazutoshi Kubota 2002-02-02 11:38:37 UTC
On Sat, 2 Feb 2002 11:12:22 +0000,
In Message <20020202111222.GB71726@voi.aagh.net>
Thomas Hurst <tom.hurst@clara.net> wrote...

> > >Number:         34528
> > >Category:       ports
> > >Synopsis:       devel/boehm-gc is not LOCALBASE clean
> 
> > >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}
> 
> Shouldn't this be just HAS_CONFIGURE -> GNU_CONFIGURE?

It sounds good, and I tried it.  But configure was failed.

root@flea[02-02-02 20:36]# make configure
===>  Extracting for boehm-gc-6.0
>> Checksum OK for gc6.0.tar.gz.
===>  Patching for boehm-gc-6.0
===>  Applying FreeBSD patches for boehm-gc-6.0
===>  Configuring for boehm-gc-6.0
creating cache ./config.cache
checking host system type... i386--freebsd4.5
checking target system type... i386--freebsd4.5
checking build system type... i386--freebsd4.5
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
configure: error: can only configure for one host and one target at a time
===>  Script "configure" failed: here are the contents of "config.log"

--------
Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp>
PGP-Public-Key:
http://www.asahi-net.or.jp/~tu7k-kbt/pubkey.asc