diff options
author | tron <tron> | 2014-06-05 19:48:33 +0000 |
---|---|---|
committer | tron <tron> | 2014-06-05 19:48:33 +0000 |
commit | 3f0cfbbd3055e2d967737f129799266f6571de81 (patch) | |
tree | 6371b065dd56d5749d967ab9640af747cfe761fb /devel/libexecinfo | |
parent | 3ab5b8f0e0293a47f05f76156b72a16feddd441b (diff) | |
download | pkgsrc-3f0cfbbd3055e2d967737f129799266f6571de81.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/Makefile | 9 | ||||
-rw-r--r-- | devel/libexecinfo/PLIST | 10 |
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 |