summaryrefslogtreecommitdiff
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
commit31ed5611bc9e95b0fbbe198c8cf337081e1b3f15 (patch)
tree2ac5b77f3db6848783b69e90de53062356b802ea
parent4fb557711bedf353f7c5ba48a55dc19378dc2e19 (diff)
downloadpkgsrc-31ed5611bc9e95b0fbbe198c8cf337081e1b3f15.tar.gz
Do not build statically on SunOS.
-rw-r--r--graphics/impress/Makefile8
-rw-r--r--math/mapm/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/graphics/impress/Makefile b/graphics/impress/Makefile
index 3c310fe06ef..e9a67c4bae3 100644
--- a/graphics/impress/Makefile
+++ b/graphics/impress/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2012/10/06 14:11:00 asau Exp $
+# $NetBSD: Makefile,v 1.16 2014/01/09 12:11:12 jperkin Exp $
#
DISTNAME= imp1.1b9
@@ -23,6 +23,12 @@ USE_LANGUAGES= c++
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
INSTALLATION_DIRS+= bin
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-static
+.endif
+
do-build:
cd ${WRKSRC} && make make_impress make_font3d
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