summaryrefslogtreecommitdiff
path: root/math/mapm
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-01-09 12:07:42 +0000
committerjperkin <jperkin@pkgsrc.org>2014-01-09 12:07:42 +0000
commit85794dfd0ffb0cfad7a6f0dfffd8db7297c2d7dd (patch)
tree2ac5b77f3db6848783b69e90de53062356b802ea /math/mapm
parent3bdf95798fb775863f89c437391e45f392b80d28 (diff)
downloadpkgsrc-85794dfd0ffb0cfad7a6f0dfffd8db7297c2d7dd.tar.gz
Do not build statically on SunOS.
Diffstat (limited to 'math/mapm')
-rw-r--r--math/mapm/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/mapm/Makefile b/math/mapm/Makefile
index 64451911878..7bd2164adcf 100644
--- a/math/mapm/Makefile
+++ b/math/mapm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2012/09/13 16:56:17 asau Exp $
+# $NetBSD: Makefile,v 1.11 2014/01/09 12:07:42 jperkin Exp $
#
DISTNAME= mapm-4.9.5a
@@ -17,6 +17,12 @@ USE_LANGUAGES= c c++
INSTALLATION_DIRS= bin include lib share/doc/mapm
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-static
+.endif
+
do-install:
${INSTALL_DATA} ${WRKSRC}/m_apm.h ${DESTDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libmapm.a ${DESTDIR}${PREFIX}/lib