summaryrefslogtreecommitdiff
path: root/audio/audacious
diff options
context:
space:
mode:
authorjoerg <joerg>2012-07-03 18:20:51 +0000
committerjoerg <joerg>2012-07-03 18:20:51 +0000
commit2aeed55491d82eea26739c794f05b75e556fa45e (patch)
tree83b5a75ed95b75cf884485047913d877ec94cc77 /audio/audacious
parent8a71728c17f953bc706f6a084b51f3897b0e76f2 (diff)
downloadpkgsrc-2aeed55491d82eea26739c794f05b75e556fa45e.tar.gz
Fix backtrace(3) usage on NetBSD
Diffstat (limited to 'audio/audacious')
-rw-r--r--audio/audacious/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/audacious/Makefile b/audio/audacious/Makefile
index 47cbd072b29..cb637dbf496 100644
--- a/audio/audacious/Makefile
+++ b/audio/audacious/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2012/07/01 19:05:10 dholland Exp $
+# $NetBSD: Makefile,v 1.23 2012/07/03 18:20:51 joerg Exp $
#
DISTNAME= audacious-1.5.1
@@ -32,6 +32,11 @@ PKG_SUGGESTED_OPTIONS= inet6
CONFIGURE_ARGS+= --enable-ipv6
.endif
+# for backtrace
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
+LIBS+= -lexecinfo
+.endif
+
LIBS.SunOS+= -lm -lX11
LDFLAGS.DragonFly= -lm -lX11 -lgmodule-2.0