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
commita430ee9cbbd113d25c22d93cbd3c293dbda63abf (patch)
tree83b5a75ed95b75cf884485047913d877ec94cc77 /audio
parent9e213ca1f4ea1e2b02912c2b56179894f9c6cf22 (diff)
downloadpkgsrc-a430ee9cbbd113d25c22d93cbd3c293dbda63abf.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