summaryrefslogtreecommitdiff
path: root/net/yaz
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2016-09-03 07:13:46 +0000
committermef <mef@pkgsrc.org>2016-09-03 07:13:46 +0000
commit66c4b3fa4df0aa2af0a83af2bba50a97270b697f (patch)
tree3a9e91758fcd877005fd10abb2fbabaac25dbe10 /net/yaz
parent4b14cf618fea0680055b6aec027d1baaf54ae16a (diff)
downloadpkgsrc-66c4b3fa4df0aa2af0a83af2bba50a97270b697f.tar.gz
-lexecinfo only with NetBSD or FreeBSD, (DragonFly too ?). Thanks wiz@
Diffstat (limited to 'net/yaz')
-rw-r--r--net/yaz/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/yaz/Makefile b/net/yaz/Makefile
index 852f38455ae..2db72e4db4a 100644
--- a/net/yaz/Makefile
+++ b/net/yaz/Makefile
@@ -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 @@ USE_TOOLS+= pkg-config tclsh
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