pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/irssi-xmpp Use correct linker flags on Darwin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/891f8856955b
branches:  trunk
changeset: 352893:891f8856955b
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Sep 19 17:17:27 2016 +0000

description:
Use correct linker flags on Darwin.

diffstat:

 chat/irssi-xmpp/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r fb67bc728d9e -r 891f8856955b chat/irssi-xmpp/Makefile
--- a/chat/irssi-xmpp/Makefile  Mon Sep 19 17:13:27 2016 +0000
+++ b/chat/irssi-xmpp/Makefile  Mon Sep 19 17:17:27 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2016/08/14 21:16:04 leot Exp $
+# $NetBSD: Makefile,v 1.7 2016/09/19 17:17:27 jperkin Exp $
 #
 
 DISTNAME=      irssi-xmpp-0.53
@@ -35,6 +35,11 @@
 SUBST_SED.configmk+=   -e 's/^CFLAGS =/CFLAGS +=/'
 SUBST_SED.configmk+=   -e 's/^LDFLAGS =/LDFLAGS +=/'
 
+SUBST_CLASSES+=                osxmk
+SUBST_STAGE.osxmk=     pre-build
+SUBST_FILES.osxmk=     config.mk
+SUBST_SED.osxmk=       -e 's,-shared,-dynamiclib -undefined dynamic_lookup,'
+
 CFLAGS.SunOS+= -D__BEGIN_DECLS= -D__END_DECLS=
 
 post-extract:



Home | Main Index | Thread Index | Old Index