summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-03-25 17:58:32 +0000
committerjperkin <jperkin@pkgsrc.org>2013-03-25 17:58:32 +0000
commit5037b56f86cf23648df83c84a09841a7cf24c352 (patch)
treea6671c0a35bdddcdfef2c8488241285a2b9aaefc
parent5dfcdded23948a633ae94d8d2d323874b68b5a64 (diff)
downloadpkgsrc-5037b56f86cf23648df83c84a09841a7cf24c352.tar.gz
Convert -shared to -dynamiclib on OSX 10.5. Greatly helps my bulk
builds.
-rw-r--r--converters/help2man/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/converters/help2man/Makefile b/converters/help2man/Makefile
index 4c4f917508d..62f9734588f 100644
--- a/converters/help2man/Makefile
+++ b/converters/help2man/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2012/12/16 16:02:10 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2013/03/25 17:58:32 jperkin Exp $
DISTNAME= help2man-1.40.13
CATEGORIES= converters
@@ -25,6 +25,14 @@ INFO_FILES= yes
.include "../../mk/bsd.prefs.mk"
+# XXX: will undoubtedly include more versions
+.if ${OPSYS} == "Darwin" && !empty(OS_VERSION:M9.*)
+SUBST_CLASSES+= shlibarg
+SUBST_STAGE.shlibarg= pre-configure
+SUBST_FILES.shlibarg= Makefile.in
+SUBST_SED.shlibarg= -e 's, -shared , -dynamiclib ,g'
+.endif
+
PLIST_VARS+= nls
.if ${OPSYS} == "Darwin" && ${OS_VERSION:M8.*} != ""