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
This commit is contained in:
parent
2817553d2a
commit
7e36d75089
2 changed files with 26 additions and 23 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue