pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/yaz -lexecinfo only with NetBSD or FreeBSD, (Drago...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe0829b4b32d
branches:  trunk
changeset: 351990:fe0829b4b32d
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Sep 03 07:13:46 2016 +0000

description:
-lexecinfo only with NetBSD or FreeBSD, (DragonFly too ?). Thanks wiz@

diffstat:

 net/yaz/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 6bc50e825706 -r fe0829b4b32d net/yaz/Makefile
--- a/net/yaz/Makefile  Fri Sep 02 16:58:22 2016 +0000
+++ b/net/yaz/Makefile  Sat Sep 03 07:13:46 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2016/08/26 13:59:34 mef Exp $
+# $NetBSD: Makefile,v 1.65 2016/09/03 07:13:46 mef Exp $
 #
 
 DISTNAME=      yaz-4.1.6
@@ -22,8 +22,13 @@
 CONFIGURE_ARGS+=       --with-iconv=${BUILDLINK_PREFIX.libiconv}
 CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
 CONFIGURE_ARGS+=       --with-xml2=${BUILDLINK_PREFIX.libxml2}
+
 # backtrace and backtrace_symbols
+.include "../../mk/bsd.prefs.mk"
+# DragonFly too ?
+.if !empty(OPSYS:MNetBSD) || !empty(OPSYS:MFreeBSD)
 LDFLAGS+=      -lexecinfo
+.endif
 
 PTHREAD_OPTS+= native optional
 



Home | Main Index | Thread Index | Old Index