ports/144615: [PATCH] misc/help2man: fix make package when WITHOUT_NLS is defined, take maintainership
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Wed Mar 10 08:20:01 UTC 2010
>Number: 144615
>Category: ports
>Synopsis: [PATCH] misc/help2man: fix make package when WITHOUT_NLS is defined, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 10 08:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 8.0-STABLE amd64
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Feb 12 20:20:34 CST 2010
>Description:
Changes:
- Fix make package: bindtextdomain.so is not built when WITHOUT_NLS is defined.
- Take maintainership
- BUMP PORTREVISION
sylvio@ is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- help2man-1.37.1_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/misc/help2man/Makefile /usr/ports/sunpoet/help2man/Makefile
--- /usr/ports/misc/help2man/Makefile 2010-03-09 16:23:19.000000000 +0800
+++ /usr/ports/sunpoet/help2man/Makefile 2010-03-10 16:09:10.000000000 +0800
@@ -8,34 +8,35 @@
PORTNAME= help2man
PORTVERSION= 1.37.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sunpoet at sunpoet.net
COMMENT= Automatically generating simple manual pages from program output
.if !defined(WITHOUT_NLS)
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext
+CFLAGS+= -lintl
+INSTALL_TARGET= install install_l10n
MANLANG= "" de fi fr pl pt_BR sv
PLIST_SUB+= NLS=""
USE_GETTEXT= yes
-INSTALL_TARGET= install install_l10n
.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
+CONFIGURE_ARGS+=--disable-nls
INSTALL_TARGET= install
+PLIST_SUB+= NLS="@comment "
.endif
+CFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
-CFLAGS+= -L${LOCALBASE}/lib -lintl
USE_GMAKE= yes
USE_PERL5= yes
-MAN1= help2man.1
INFO= help2man
+MAN1= help2man.1
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/misc/help2man/pkg-plist /usr/ports/sunpoet/help2man/pkg-plist
--- /usr/ports/misc/help2man/pkg-plist 2010-03-09 16:23:19.000000000 +0800
+++ /usr/ports/sunpoet/help2man/pkg-plist 2010-03-10 12:58:33.000000000 +0800
@@ -1,5 +1,5 @@
bin/help2man
-lib/bindtextdomain.so
+%%NLS%%lib/bindtextdomain.so
%%NLS%%share/locale/de/LC_MESSAGES/help2man.mo
%%NLS%%share/locale/fi/LC_MESSAGES/help2man.mo
%%NLS%%share/locale/fr/LC_MESSAGES/help2man.mo
--- help2man-1.37.1_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list