diff options
author | marino <marino@pkgsrc.org> | 2012-10-19 19:58:47 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-10-19 19:58:47 +0000 |
commit | 4aef65119036bba6995f5b8943f8a224f09623ee (patch) | |
tree | 67f85c6a2c6bf2b6b49251493c2ee2bb318a87c2 /converters/help2man/patches/patch-Makefile.in | |
parent | aea4faafc2019bbc00cd60e8eca2cf4d2a884515 (diff) | |
download | pkgsrc-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/help2man/patches/patch-Makefile.in')
-rw-r--r-- | converters/help2man/patches/patch-Makefile.in | 19 |
1 files changed, 19 insertions, 0 deletions
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 |