summaryrefslogtreecommitdiff
path: root/converters/help2man
diff options
context:
space:
mode:
authorabs <abs>2010-12-08 20:29:05 +0000
committerabs <abs>2010-12-08 20:29:05 +0000
commitb3e2cd3234af5e1d1fe4d9a2b5ff4c7ec91d562f (patch)
tree6c355852548ee783e3eb32f1b6d2a500e0800da9 /converters/help2man
parent257346c8fb62b34904721ac2a92a6b1a01a2fa13 (diff)
downloadpkgsrc-b3e2cd3234af5e1d1fe4d9a2b5ff4c7ec91d562f.tar.gz
Fix build on OS X 10.4 (Tiger) by disabling nls on that OS version only.
(The package needs to build a shared lib & I don't feel like converting it to libtool for ancient OS X) Bump PKGREVISION
Diffstat (limited to 'converters/help2man')
-rw-r--r--converters/help2man/Makefile13
-rw-r--r--converters/help2man/PLIST36
2 files changed, 26 insertions, 23 deletions
diff --git a/converters/help2man/Makefile b/converters/help2man/Makefile
index 2af455cdd19..d3ebc7c0873 100644
--- a/converters/help2man/Makefile
+++ b/converters/help2man/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2010/08/31 16:55:58 tron Exp $
+# $NetBSD: Makefile,v 1.4 2010/12/08 20:29:05 abs Exp $
DISTNAME= help2man-1.38.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GNU:=help2man/}
@@ -16,15 +16,18 @@ DEPENDS+= p5-gettext>=1.01:../../devel/p5-gettext
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
-USE_PKGLOCALEDIR= yes
USE_TOOLS+= perl:run msgfmt gmake
INFO_FILES= yes
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "Darwin"
-_STRIPFLAG_INSTALL=
+PLIST_VARS+= nls
+.if ${OPSYS} == "Darwin" && ${OS_VERSION:M8.*} != ""
+CONFIGURE_ARGS+= --disable-nls
+.else
+USE_PKGLOCALEDIR= yes
+PLIST.nls= yes
.endif
.include "../../devel/gettext-lib/buildlink3.mk"
diff --git a/converters/help2man/PLIST b/converters/help2man/PLIST
index 80f30a537b3..7e955df8f7e 100644
--- a/converters/help2man/PLIST
+++ b/converters/help2man/PLIST
@@ -1,21 +1,21 @@
-@comment $NetBSD: PLIST,v 1.3 2010/05/02 11:25:29 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2010/12/08 20:29:05 abs Exp $
bin/help2man
info/help2man.info
-lib/bindtextdomain.so
-man/de/man1/help2man.1
-man/fi/man1/help2man.1
-man/fr/man1/help2man.1
+${PLIST.nls}lib/bindtextdomain.so
+${PLIST.nls}man/de/man1/help2man.1
+${PLIST.nls}man/fi/man1/help2man.1
+${PLIST.nls}man/fr/man1/help2man.1
man/man1/help2man.1
-man/pl/man1/help2man.1
-man/pt_BR/man1/help2man.1
-man/ru/man1/help2man.1
-man/sv/man1/help2man.1
-man/vi/man1/help2man.1
-share/locale/de/LC_MESSAGES/help2man.mo
-share/locale/fi/LC_MESSAGES/help2man.mo
-share/locale/fr/LC_MESSAGES/help2man.mo
-share/locale/pl/LC_MESSAGES/help2man.mo
-share/locale/pt_BR/LC_MESSAGES/help2man.mo
-share/locale/ru/LC_MESSAGES/help2man.mo
-share/locale/sv/LC_MESSAGES/help2man.mo
-share/locale/vi/LC_MESSAGES/help2man.mo
+${PLIST.nls}man/pl/man1/help2man.1
+${PLIST.nls}man/pt_BR/man1/help2man.1
+${PLIST.nls}man/ru/man1/help2man.1
+${PLIST.nls}man/sv/man1/help2man.1
+${PLIST.nls}man/vi/man1/help2man.1
+${PLIST.nls}share/locale/de/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/help2man.mo