summaryrefslogtreecommitdiff
path: root/archivers/gsharutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/gsharutils/Makefile')
-rw-r--r--archivers/gsharutils/Makefile27
1 files changed, 4 insertions, 23 deletions
diff --git a/archivers/gsharutils/Makefile b/archivers/gsharutils/Makefile
index bf3f7a60dea..5da0d890a26 100644
--- a/archivers/gsharutils/Makefile
+++ b/archivers/gsharutils/Makefile
@@ -1,16 +1,14 @@
-# $NetBSD: Makefile,v 1.44 2011/04/22 13:42:49 obache Exp $
+# $NetBSD: Makefile,v 1.45 2011/11/19 18:59:20 marino Exp $
-DISTNAME= sharutils-4.2.1
+DISTNAME= sharutils-4.11.1
PKGNAME= g${DISTNAME}
-PKGREVISION= 11
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU:=sharutils/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/sharutils/sharutils.html
COMMENT= Allow packing and unpacking of shell archives
-
-BROKEN_GETTEXT_DETECTION= yes
+LICENSE= gnu-gpl-v3
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
@@ -20,35 +18,18 @@ GNU_CONFIGURE= yes
INSTALL_TARGET= install install-man
INFO_FILES= yes
-USE_TOOLS+= makeinfo msgfmt sh:run mktemp:run perl:run
-
-REPLACE_PERL= src/remsync.in
+USE_TOOLS+= makeinfo msgfmt sh:run
CONFIGURE_ARGS+= --disable-uucode
CONFIGURE_ENV+= SH=${TOOLS_SH:Q}
.include "../../mk/bsd.prefs.mk"
-# 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
-#
-.if ${OPSYS} != "Linux"
-# XXX ...but don't do this on Linux, where glibc-internalized gettext
-# always uses the non-prefixed symbols.
-#
-BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.11
-CPPFLAGS+= -D_nl_default_dirname=libintl_nl_default_dirname
-.endif
-
.if defined(GNU_PROGRAM_PREFIX)
CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q}
.endif
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q}
BUILD_DEFS+= GNU_PROGRAM_PREFIX
-post-patch:
- ${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/po/sharutils.pot
-
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"