summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.*} != ""