summaryrefslogtreecommitdiff
path: root/audio/snd
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-01-25 01:18:15 +0000
committerwiz <wiz@pkgsrc.org>2012-01-25 01:18:15 +0000
commitcb822633e6e61fb9ef20822f5b0991b88770f512 (patch)
treee29bc9ff3f3f814b49d679a2b26d5893b49dd60b /audio/snd
parent222af770b950602a89fc245387c4bd17fd856939 (diff)
downloadpkgsrc-cb822633e6e61fb9ef20822f5b0991b88770f512.tar.gz
LDFLAGS setting only needed when gtk option is turned on, so move it there.
Tested by John Marino.
Diffstat (limited to 'audio/snd')
-rw-r--r--audio/snd/Makefile3
-rw-r--r--audio/snd/options.mk3
2 files changed, 3 insertions, 3 deletions
diff --git a/audio/snd/Makefile b/audio/snd/Makefile
index 4cb30c2578a..67a02aef835 100644
--- a/audio/snd/Makefile
+++ b/audio/snd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2012/01/24 09:43:31 marino Exp $
+# $NetBSD: Makefile,v 1.65 2012/01/25 01:18:15 wiz Exp $
#
DISTNAME= snd-9.9
@@ -23,7 +23,6 @@ USE_TOOLS+= gmake msgfmt pkg-config
BUILD_TARGET= snd
MAKE_FILE= makefile
WRKSRC= ${WRKDIR}/snd-9
-LDFLAGS.DragonFly= -lX11
INSTALLATION_DIRS= ${PKGLOCALEDIR}/locale/de/LC_MESSAGES
INSTALL_MAKE_FLAGS+= localedir=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale
diff --git a/audio/snd/options.mk b/audio/snd/options.mk
index 8d547cc3c47..ea4a6597948 100644
--- a/audio/snd/options.mk
+++ b/audio/snd/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2011/12/05 19:16:57 dholland Exp $
+# $NetBSD: options.mk,v 1.4 2012/01/25 01:18:15 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.snd
PKG_SUPPORTED_OPTIONS= esound guile
@@ -19,6 +19,7 @@ CONFIGURE_ARGS+= --without-esd
.if !empty(PKG_OPTIONS:Mgtk)
CONFIGURE_ARGS+= --with-gtk
.include "../../x11/gtk2/buildlink3.mk"
+LDFLAGS.DragonFly= -lX11
.else
CONFIGURE_ARGS+= --without-gtk
.endif