summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-10-19 19:58:47 +0000
committermarino <marino@pkgsrc.org>2012-10-19 19:58:47 +0000
commit4aef65119036bba6995f5b8943f8a224f09623ee (patch)
tree67f85c6a2c6bf2b6b49251493c2ee2bb318a87c2 /converters
parentaea4faafc2019bbc00cd60e8eca2cf4d2a884515 (diff)
downloadpkgsrc-4aef65119036bba6995f5b8943f8a224f09623ee.tar.gz
converters/help2man: Restore removed RPATH patch
converters/help2man does not embed an rpath into bindtextdomain.so, and it will fail PKG_DEVELOPER checks on platforms that don't have native libintl like DragonFly. This was fixed back in July but the patch got removed during the update to the current version. Re-introduce the equivalent patch to fix the build on DragonFly.
Diffstat (limited to 'converters')
-rw-r--r--converters/help2man/Makefile3
-rw-r--r--converters/help2man/distinfo3
-rw-r--r--converters/help2man/patches/patch-Makefile.in19
3 files changed, 23 insertions, 2 deletions
diff --git a/converters/help2man/Makefile b/converters/help2man/Makefile
index 02f6ee39272..477e86b89ad 100644
--- a/converters/help2man/Makefile
+++ b/converters/help2man/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2012/10/13 12:25:02 wen Exp $
+# $NetBSD: Makefile,v 1.11 2012/10/19 19:58:47 marino Exp $
DISTNAME= help2man-1.40.12
+PKGREVISION= 1
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GNU:=help2man/}
diff --git a/converters/help2man/distinfo b/converters/help2man/distinfo
index ecbbbf8dc8b..52b131a71e6 100644
--- a/converters/help2man/distinfo
+++ b/converters/help2man/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2012/10/13 12:25:02 wen Exp $
+$NetBSD: distinfo,v 1.5 2012/10/19 19:58:47 marino Exp $
SHA1 (help2man-1.40.12.tar.gz) = 5773bacc2b455356527fc0bd804c6801142e986d
RMD160 (help2man-1.40.12.tar.gz) = 33a491af667e97588c0ecd1f3a1cc81b8519e5a6
Size (help2man-1.40.12.tar.gz) = 190870 bytes
+SHA1 (patch-Makefile.in) = 0d6ee6adcd6ee9fb4729acd5338b79e2b321c92c
diff --git a/converters/help2man/patches/patch-Makefile.in b/converters/help2man/patches/patch-Makefile.in
new file mode 100644
index 00000000000..d310dc04071
--- /dev/null
+++ b/converters/help2man/patches/patch-Makefile.in
@@ -0,0 +1,19 @@
+$NetBSD: patch-Makefile.in,v 1.1 2012/10/19 19:58:47 marino Exp $
+
+Fixes error: lib/bindtextdomain.so: missing library: libintl.so.8
+
+For platforms that do not have a native libintl and use the pkgsrc version,
+the rpath must be set in order to pass the PKG_DEVELOPER checks. This
+bakes the proper RPATH into the bindtextdomain.so library.
+
+--- Makefile.in.orig 2012-08-24 06:57:40.000000000 +0000
++++ Makefile.in
+@@ -113,7 +113,7 @@ $(target).h2m: $(srcdir)/$(target).h2m.P
+
+ preload: $(preload).so
+ $(preload).so: $(srcdir)/$(preload).c
+- $(CC) $(CFLAGS) -o $@ -fPIC -shared $? $(LIBS)
++ $(CC) $(CFLAGS) -o $@ -fPIC -shared $? $(LIBS) $(COMPILER_RPATH_FLAG)$(libdir)
+
+ man: $(target).1
+ $(target).1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m.PL