summaryrefslogtreecommitdiff
path: root/converters/help2man
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-09-07 12:06:05 +0000
committerjperkin <jperkin@pkgsrc.org>2015-09-07 12:06:05 +0000
commit697c0a9228bee58a3314559c401748a2c4212af7 (patch)
tree9d4e653e0810592c1b25a77f251fa5f59a469e23 /converters/help2man
parent5439ab5c6af9044f9773c653962c7e65e7388e17 (diff)
downloadpkgsrc-697c0a9228bee58a3314559c401748a2c4212af7.tar.gz
Pass -install_name on Darwin to create valid dynamic library name.
Diffstat (limited to 'converters/help2man')
-rw-r--r--converters/help2man/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/converters/help2man/Makefile b/converters/help2man/Makefile
index 0687d4836e7..d95d8d79d1b 100644
--- a/converters/help2man/Makefile
+++ b/converters/help2man/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2015/06/30 10:54:34 ryoon Exp $
+# $NetBSD: Makefile,v 1.35 2015/09/07 12:06:05 jperkin Exp $
DISTNAME= help2man-1.47.1
CATEGORIES= converters
@@ -26,12 +26,11 @@ INFO_FILES= yes
.include "../../mk/bsd.prefs.mk"
-# XXX: will undoubtedly include more versions
-.if ${OPSYS} == "Darwin" && !empty(OS_VERSION:M8.*) || !empty(OS_VERSION:M9.*)
+.if ${OPSYS} == "Darwin"
SUBST_CLASSES+= shlibarg
SUBST_STAGE.shlibarg= pre-configure
SUBST_FILES.shlibarg= Makefile.in
-SUBST_SED.shlibarg= -e 's, -shared , -dynamiclib ,g'
+SUBST_SED.shlibarg= -e 's, -shared , -dynamiclib -install_name ${PREFIX}/lib/bindtextdomain.so ,g'
.endif
PLIST_VARS+= nls