Subject: Re: pkg/35937: converters/libiconv fails on Debian/Linux 2.4
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 03/07/2007 14:15:06
The following reply was made to PR pkg/35937; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/35937: converters/libiconv fails on Debian/Linux 2.4
Date: Wed, 7 Mar 2007 15:12:13 +0100
On Tue, Mar 06, 2007 at 09:35:00PM +0000, uli@habel.name wrote:
> Here is the patch (unified):
>
> --- Makefile.orig 2007-03-06 21:17:13.000000000 +0100
> +++ Makefile 2007-03-06 21:17:32.000000000 +0100
> @@ -15,8 +15,7 @@
>
> PKG_INSTALLATION_TYPES= overwrite pkgviews
> PKG_DESTDIR_SUPPORT= user-destdir
> -
> -USE_LANGUAGES+= c99 c++
> +USE_LANGUAGES+= c++
> USE_LIBTOOL= yes
> GNU_CONFIGURE= yes
>
> @@ -45,4 +44,13 @@
> cd ${WRKSRC}/libcharset/lib && ${MAKE} libdir=${EGDIR} DESTDIR=${DESTDIR:Q} \
> install-charset-alias
>
> +.include "../../mk/bsd.prefs.mk"
> +
> +.if ${OPSYS} != "Linux"
> + USE_LANGUAGES+= c99
> +.else
> + USE_LANGUAGES+= c
> +.endif
> +
> .include "../../mk/bsd.pkg.mk"
> +
For the GNATS archive, I object this patch. See the thread on tech-pkg@
for details.
Joerg