pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/snd LDFLAGS setting only needed when gtk option ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5121099835c
branches:  trunk
changeset: 598441:d5121099835c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 25 01:18:15 2012 +0000

description:
LDFLAGS setting only needed when gtk option is turned on, so move it there.
Tested by John Marino.

diffstat:

 audio/snd/Makefile   |  3 +--
 audio/snd/options.mk |  3 ++-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 0cac3f517aa8 -r d5121099835c audio/snd/Makefile
--- a/audio/snd/Makefile        Tue Jan 24 23:57:21 2012 +0000
+++ b/audio/snd/Makefile        Wed Jan 25 01:18:15 2012 +0000
@@ -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 @@
 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 -r 0cac3f517aa8 -r d5121099835c audio/snd/options.mk
--- a/audio/snd/options.mk      Tue Jan 24 23:57:21 2012 +0000
+++ b/audio/snd/options.mk      Wed Jan 25 01:18:15 2012 +0000
@@ -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 @@
 .if !empty(PKG_OPTIONS:Mgtk)
 CONFIGURE_ARGS+=       --with-gtk
 .include "../../x11/gtk2/buildlink3.mk"
+LDFLAGS.DragonFly=     -lX11
 .else
 CONFIGURE_ARGS+=       --without-gtk
 .endif



Home | Main Index | Thread Index | Old Index