[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: get 'libtool --tag CXX' to work
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: Re: get 'libtool --tag CXX' to work
- From: Jacob Meuser <jakemsr_(_at_)_jakemsr_(_dot_)_com>
- Date: Tue, 6 Dec 2005 19:21:23 -0800
- Cc: Brad Smith <brad_(_at_)_comstyle_(_dot_)_com>
- Mail-followup-to: ports_(_at_)_openbsd_(_dot_)_org, Brad Smith <brad_(_at_)_comstyle_(_dot_)_com>
On Tue, Dec 06, 2005 at 08:27:47PM +0100, Marc Espie wrote:
> The preserve_args fragment was missing, thus the generated relink commands
> were bogus.
>
> Okay ?
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/libtool/Makefile,v
> retrieving revision 1.44
> diff -u -p -r1.44 Makefile
> --- Makefile 2 Nov 2005 02:47:09 -0000 1.44
> +++ Makefile 6 Dec 2005 19:01:26 -0000
> @@ -6,7 +6,7 @@ COMMENT-ltdl= "GNU libtool system indepe
>
> VERSION= 1.5.20
> DISTNAME= libtool-${VERSION}
> -PKGNAME= ${DISTNAME}p1
> +PKGNAME= ${DISTNAME}p2
> PKGNAME-ltdl= libltdl-${VERSION}p1
> CATEGORIES= devel
> MASTER_SITES= ${MASTER_SITE_GNU:=libtool/}
> Index: patches/patch-ltmain_in
> ===================================================================
> RCS file: /cvs/ports/devel/libtool/patches/patch-ltmain_in,v
> retrieving revision 1.13
> diff -u -p -r1.13 patch-ltmain_in
> --- patches/patch-ltmain_in 2 Nov 2005 02:47:09 -0000 1.13
> +++ patches/patch-ltmain_in 6 Dec 2005 19:01:26 -0000
> @@ -1,7 +1,18 @@
> $OpenBSD: patch-ltmain_in,v 1.13 2005/11/02 02:47:09 brad Exp $
> ---- ltmain.in.orig Wed Aug 31 14:25:28 2005
> -+++ ltmain.in Tue Nov 1 15:13:43 2005
> -@@ -1089,14 +1089,15 @@ EOF
> +--- ltmain.in.orig Wed Aug 31 20:25:28 2005
> ++++ ltmain.in Tue Dec 6 19:57:56 2005
> +@@ -468,7 +468,9 @@ do
> + preserve_args="$preserve_args $arg"
> + ;;
> +
> +- --tag) prevopt="--tag" prev=tag ;;
> ++ --tag) prevopt="--tag" prev=tag
> ++ preserve_args="$preserve_args --tag"
should probably be
> ++ preserve_args="$preserve_args $arg"
if you wish to sumbit this upstream
--
<jakemsr_(_at_)_jakemsr_(_dot_)_com>
Visit your host, monkey.org