diff options
author | tv <tv@pkgsrc.org> | 2005-01-24 20:15:58 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-01-24 20:15:58 +0000 |
commit | f99a3946567d217fe38705fd92fd675543b10f14 (patch) | |
tree | aff644446fb637738177cd287a91393fc3198f4d /archivers/gsharutils | |
parent | 1e359c12c4eb76c378feef76ee76148a441838b8 (diff) | |
download | pkgsrc-f99a3946567d217fe38705fd92fd675543b10f14.tar.gz |
Fix build on Interix (and others with pkgsrc gettext-lib 0.11+).
gettext 0.11+ has renamed internal symbols, and gsharutils is
being a very bad neighbor by using them directly. To fix, force
use of gettext >= 0.11, and rename the symbol in gsharutils.
Diffstat (limited to 'archivers/gsharutils')
-rw-r--r-- | archivers/gsharutils/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/archivers/gsharutils/Makefile b/archivers/gsharutils/Makefile index 4e7e4db7fdb..f2e6a3cd835 100644 --- a/archivers/gsharutils/Makefile +++ b/archivers/gsharutils/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.22 2004/10/03 00:13:04 tv Exp $ +# $NetBSD: Makefile,v 1.23 2005/01/24 20:15:58 tv Exp $ DISTNAME= sharutils-4.2.1 PKGNAME= g${DISTNAME} -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_GNU:=sharutils/} @@ -24,6 +24,13 @@ INFO_FILES= remsync.info sharutils.info CONFIGURE_ARGS+= --disable-uucode +# gettext 0.11+ has renamed internal symbols, and gsharutils is +# being a very bad neighbor by using them directly. To fix, force +# use of gettext >= 0.11, and rename the symbol in gsharutils. -tv +# +BUILDLINK_DEPENDS.gettext+= gettext-lib>=0.11 +CPPFLAGS+= -D_nl_default_dirname=libintl_nl_default_dirname + .include "../../mk/bsd.prefs.mk" .if defined(GNU_PROGRAM_PREFIX) |