summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-07-04 22:10:05 +0000
committerjperkin <jperkin>2013-07-04 22:10:05 +0000
commit78dd905c5d3c3e26ec81590c30fe28114603a360 (patch)
treeb44f8965bff8fd6d9de55b5b04d571f3fe41c4f0 /graphics
parent0789fb8cb4c177e34abe073972d8d58aa91bf9e1 (diff)
downloadpkgsrc-78dd905c5d3c3e26ec81590c30fe28114603a360.tar.gz
Remove flags only valid for GNU ld on SunOS. Fixes package.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/shotwell/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/shotwell/Makefile b/graphics/shotwell/Makefile
index ffa473fc9f3..5677067f0b9 100644
--- a/graphics/shotwell/Makefile
+++ b/graphics/shotwell/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2013/06/18 05:52:55 dholland Exp $
+# $NetBSD: Makefile,v 1.49 2013/07/04 22:10:05 jperkin Exp $
#
DISTNAME= shotwell-0.11.6
@@ -23,6 +23,13 @@ MAKE_ENV+= VALAC=${VALAC}
REPLACE_SH+= configure
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-export-dynamic
+BUILDLINK_TRANSFORM+= rm:-Wl,--no-as-needed
+.endif
+
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/GConf/buildlink3.mk"
.include "../../devel/glib2/schemas.mk"