From d58733f3ae3ed044a8503609f08c0bdf55ff914f Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 24 Jan 2005 20:15:58 +0000 Subject: 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. --- archivers/gsharutils/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'archivers') 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) -- cgit v1.2.3