summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2014-11-22 14:59:59 +0000
committerbsiegert <bsiegert@pkgsrc.org>2014-11-22 14:59:59 +0000
commit0d3ac9f0988175433970f31d93fd4d4fa0bedd1f (patch)
tree1f21e6b95e6d86f9175c22273d117f594a2148f8 /converters
parentd9dbcf037adb39ee65ccf5dae5ef51b3b0e1f43e (diff)
downloadpkgsrc-0d3ac9f0988175433970f31d93fd4d4fa0bedd1f.tar.gz
Unbreak help2man build on Mac OS X Tiger. Put the localized info pages
into the "nls" option. PKGREVISION++. Patch provided by Sevan Janiyan in PR pkg/49059.
Diffstat (limited to 'converters')
-rw-r--r--converters/help2man/Makefile11
-rw-r--r--converters/help2man/PLIST10
2 files changed, 9 insertions, 12 deletions
diff --git a/converters/help2man/Makefile b/converters/help2man/Makefile
index 35c1b3acfa2..de9d30b82da 100644
--- a/converters/help2man/Makefile
+++ b/converters/help2man/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2014/10/12 15:21:28 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2014/11/22 14:59:59 bsiegert Exp $
DISTNAME= help2man-1.46.4
+PKGREVISION= 1
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GNU:=help2man/}
EXTRACT_SUFX= .tar.xz
@@ -27,7 +28,7 @@ INFO_FILES= yes
.include "../../mk/bsd.prefs.mk"
# XXX: will undoubtedly include more versions
-.if ${OPSYS} == "Darwin" && !empty(OS_VERSION:M9.*)
+.if ${OPSYS} == "Darwin" && !empty(OS_VERSION:M8.*) || !empty(OS_VERSION:M9.*)
SUBST_CLASSES+= shlibarg
SUBST_STAGE.shlibarg= pre-configure
SUBST_FILES.shlibarg= Makefile.in
@@ -36,12 +37,8 @@ SUBST_SED.shlibarg= -e 's, -shared , -dynamiclib ,g'
PLIST_VARS+= nls
-.if ${OPSYS} == "Darwin" && ${OS_VERSION:M8.*} != ""
-CONFIGURE_ARGS+= --disable-nls
-.else
-. if ${OPSYS} == "Darwin"
+.if ${OPSYS} == "Darwin"
_STRIPFLAG_INSTALL=
-. endif
USE_PKGLOCALEDIR= yes
PLIST.nls= yes
.endif
diff --git a/converters/help2man/PLIST b/converters/help2man/PLIST
index 67372c9b651..75d1a7c957e 100644
--- a/converters/help2man/PLIST
+++ b/converters/help2man/PLIST
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.8 2014/10/01 12:12:28 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2014/11/22 14:59:59 bsiegert Exp $
bin/help2man
-info/help2man-de.info
-info/help2man-fr.info
-info/help2man-pl.info
-info/help2man-uk.info
+${PLIST.nls}info/help2man-de.info
+${PLIST.nls}info/help2man-fr.info
+${PLIST.nls}info/help2man-pl.info
+${PLIST.nls}info/help2man-uk.info
info/help2man.info
${PLIST.nls}lib/bindtextdomain.so
${PLIST.nls}man/de/man1/help2man.1