pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/shotwell Remove flags only valid for GNU ld o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb0773eb3f4c
branches:  trunk
changeset: 621133:eb0773eb3f4c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jul 04 22:10:05 2013 +0000

description:
Remove flags only valid for GNU ld on SunOS.  Fixes package.

diffstat:

 graphics/shotwell/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 12871cd81beb -r eb0773eb3f4c graphics/shotwell/Makefile
--- a/graphics/shotwell/Makefile        Thu Jul 04 21:43:25 2013 +0000
+++ b/graphics/shotwell/Makefile        Thu Jul 04 22:10:05 2013 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index