Tue Jul 15 14:54:52 2014 UTC ()
Bump PKGREVISION

* Support SCO OpenServer 5.0.7/3.2's nl_langinfo(3).


(ryoon)
diff -r1.22 -r1.23 pkgsrc/converters/help2man/Makefile
diff -r1.14 -r1.15 pkgsrc/converters/help2man/distinfo
diff -r0 -r1.1 pkgsrc/converters/help2man/patches/patch-help2man.PL

cvs diff -r1.22 -r1.23 pkgsrc/converters/help2man/Makefile (expand / switch to unified diff)

--- pkgsrc/converters/help2man/Makefile 2014/05/29 23:35:21 1.22
+++ pkgsrc/converters/help2man/Makefile 2014/07/15 14:54:52 1.23
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.22 2014/05/29 23:35:21 wiz Exp $ 1# $NetBSD: Makefile,v 1.23 2014/07/15 14:54:52 ryoon Exp $
2 2
3DISTNAME= help2man-1.45.1 3DISTNAME= help2man-1.45.1
4PKGREVISION= 1 4PKGREVISION= 2
5CATEGORIES= converters 5CATEGORIES= converters
6MASTER_SITES= ${MASTER_SITE_GNU:=help2man/} 6MASTER_SITES= ${MASTER_SITE_GNU:=help2man/}
7EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
8 8
9MAINTAINER= arved@arved.at 9MAINTAINER= arved@arved.at
10HOMEPAGE= http://www.gnu.org/software/help2man/ 10HOMEPAGE= http://www.gnu.org/software/help2man/
11COMMENT= Generate simple manual pages from program output 11COMMENT= Generate simple manual pages from program output
12LICENSE= gnu-gpl-v3 12LICENSE= gnu-gpl-v3
13 13
14DEPENDS+= p5-gettext>=1.01:../../devel/p5-gettext 14DEPENDS+= p5-gettext>=1.01:../../devel/p5-gettext
15 15
16WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} 16WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
17GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
@@ -37,15 +37,18 @@ SUBST_SED.shlibarg= -e 's, -shared , -dy @@ -37,15 +37,18 @@ SUBST_SED.shlibarg= -e 's, -shared , -dy
37 37
38PLIST_VARS+= nls 38PLIST_VARS+= nls
39 39
40.if ${OPSYS} == "Darwin" && ${OS_VERSION:M8.*} != "" 40.if ${OPSYS} == "Darwin" && ${OS_VERSION:M8.*} != ""
41CONFIGURE_ARGS+= --disable-nls 41CONFIGURE_ARGS+= --disable-nls
42.else 42.else
43. if ${OPSYS} == "Darwin" 43. if ${OPSYS} == "Darwin"
44_STRIPFLAG_INSTALL= 44_STRIPFLAG_INSTALL=
45. endif 45. endif
46USE_PKGLOCALEDIR= yes 46USE_PKGLOCALEDIR= yes
47PLIST.nls= yes 47PLIST.nls= yes
48.endif 48.endif
49 49
 50post-patch:
 51 ${TOUCH} -r ${WRKSRC}/help2man.PL.orig ${WRKSRC}/help2man.PL
 52
50.include "../../devel/gettext-lib/buildlink3.mk" 53.include "../../devel/gettext-lib/buildlink3.mk"
51.include "../../mk/bsd.pkg.mk" 54.include "../../mk/bsd.pkg.mk"

cvs diff -r1.14 -r1.15 pkgsrc/converters/help2man/distinfo (expand / switch to unified diff)

--- pkgsrc/converters/help2man/distinfo 2014/04/01 08:37:23 1.14
+++ pkgsrc/converters/help2man/distinfo 2014/07/15 14:54:52 1.15
@@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
1$NetBSD: distinfo,v 1.14 2014/04/01 08:37:23 adam Exp $ 1$NetBSD: distinfo,v 1.15 2014/07/15 14:54:52 ryoon Exp $
2 2
3SHA1 (help2man-1.45.1.tar.xz) = 9c52a29a1612a19dfec11f3dd9eb4bbf72e87f7f 3SHA1 (help2man-1.45.1.tar.xz) = 9c52a29a1612a19dfec11f3dd9eb4bbf72e87f7f
4RMD160 (help2man-1.45.1.tar.xz) = 53bd4ce7c14ead19bcf490d7217714ca0c6b40cc 4RMD160 (help2man-1.45.1.tar.xz) = 53bd4ce7c14ead19bcf490d7217714ca0c6b40cc
5Size (help2man-1.45.1.tar.xz) = 124236 bytes 5Size (help2man-1.45.1.tar.xz) = 124236 bytes
6SHA1 (patch-Makefile.in) = 0d6ee6adcd6ee9fb4729acd5338b79e2b321c92c 6SHA1 (patch-Makefile.in) = 0d6ee6adcd6ee9fb4729acd5338b79e2b321c92c
7SHA1 (patch-bindtextdomain.c) = 527f54db2b220bad60e80ed8959b9e9c20191cc7 7SHA1 (patch-bindtextdomain.c) = 527f54db2b220bad60e80ed8959b9e9c20191cc7
 8SHA1 (patch-help2man.PL) = 32766672db16a1a569ee3dbc330fbc5f51e1d77f

File Added: pkgsrc/converters/help2man/patches/Attic/patch-help2man.PL
$NetBSD: patch-help2man.PL,v 1.1 2014/07/15 14:54:52 ryoon Exp $

* SCO OpenServer 5.0.7/3.2's nl_langinfo(3) returns always empty.
  Do not fail with error.

--- help2man.PL.orig	2014-03-24 11:29:43.000000000 +0000
+++ help2man.PL
@@ -124,7 +124,7 @@ my $encoding;
 
     sub dec { $encoding ? decode $encoding, $_[0] : $_[0] }
     sub enc { $encoding ? encode $encoding, $_[0] : $_[0] }
-    sub enc_user { encode $user_encoding, $_[0] }
+    sub enc_user { $user_encoding ? encode $user_encoding, $_[0] : $_[0] }
     sub kark # die with message formatted in the invoking user's locale
     {
 	setlocale LC_ALL, $user_locale;