summaryrefslogtreecommitdiff
path: root/devel/libexecinfo
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2014-06-05 19:48:33 +0000
committertron <tron@pkgsrc.org>2014-06-05 19:48:33 +0000
commit3932850d848d1ebea47457629b2494b8983a4747 (patch)
tree6371b065dd56d5749d967ab9640af747cfe761fb /devel/libexecinfo
parentbefbd41537442baac07ef9e28c6c31964e21bb7c (diff)
downloadpkgsrc-3932850d848d1ebea47457629b2494b8983a4747.tar.gz
Don't build a shared library under Solaris 10.
This should work around PR pkg/48732 until we have a beter solution e.g. building this package with "libtool".
Diffstat (limited to 'devel/libexecinfo')
-rw-r--r--devel/libexecinfo/Makefile9
-rw-r--r--devel/libexecinfo/PLIST10
2 files changed, 13 insertions, 6 deletions
diff --git a/devel/libexecinfo/Makefile b/devel/libexecinfo/Makefile
index 924d30a35f1..9a66e3eae9e 100644
--- a/devel/libexecinfo/Makefile
+++ b/devel/libexecinfo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2014/05/10 23:03:25 ryoon Exp $
+# $NetBSD: Makefile,v 1.5 2014/06/05 19:48:33 tron Exp $
DISTNAME= libexecinfo-1.1
CATEGORIES= devel
@@ -20,6 +20,13 @@ INSTALLATION_DIRS= include lib
.include "../../mk/bsd.prefs.mk"
+PLIST_VARS+= mkpic
+.if empty(MACHINE_PLATFORM:MSunOS-5.10-*)
+PLIST.mkpic= yes
+.else
+MAKE_ENV+= MKPIC=no
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/execinfo.h ${DESTDIR}${PREFIX}/include
diff --git a/devel/libexecinfo/PLIST b/devel/libexecinfo/PLIST
index 40c8f3719fe..e2dd1df13a3 100644
--- a/devel/libexecinfo/PLIST
+++ b/devel/libexecinfo/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2013/03/14 22:27:15 asau Exp $
+@comment $NetBSD: PLIST,v 1.2 2014/06/05 19:48:33 tron Exp $
include/execinfo.h
lib/libexecinfo.a
-lib/libexecinfo.so
-lib/libexecinfo.so.1
-lib/libexecinfo.so.1.0
-lib/libexecinfo_pic.a
+${PLIST.mkpic}lib/libexecinfo.so
+${PLIST.mkpic}lib/libexecinfo.so.1
+${PLIST.mkpic}lib/libexecinfo.so.1.0
+${PLIST.mkpic}lib/libexecinfo_pic.a