summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-07-03 18:20:51 +0000
committerjoerg <joerg@pkgsrc.org>2012-07-03 18:20:51 +0000
commit1c2d1b8debdee27136278864281bd54d1a5d65fb (patch)
tree83b5a75ed95b75cf884485047913d877ec94cc77 /audio
parentfe46bfa100815957493efab6fe86cd886ace8475 (diff)
downloadpkgsrc-1c2d1b8debdee27136278864281bd54d1a5d65fb.tar.gz
Fix backtrace(3) usage on NetBSD
Diffstat (limited to 'audio')
-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