summaryrefslogtreecommitdiff
path: root/math/mapm
diff options
context:
space:
mode:
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