pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio Fixed pkglint warnings in audio/bmp-esound by no...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71e181fd6a5e
branches:  trunk
changeset: 513562:71e181fd6a5e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed May 31 09:12:18 2006 +0000

description:
Fixed pkglint warnings in audio/bmp-esound by not using the := operator.

diffstat:

 audio/bmp-esound/Makefile |  8 +++-----
 audio/bmp/Makefile.common |  8 +++++++-
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (48 lines):

diff -r 701ca18cd08b -r 71e181fd6a5e audio/bmp-esound/Makefile
--- a/audio/bmp-esound/Makefile Wed May 31 08:59:13 2006 +0000
+++ b/audio/bmp-esound/Makefile Wed May 31 09:12:18 2006 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2006/04/17 14:52:10 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2006/05/31 09:12:18 rillig Exp $
 #
 
+BMP_USE_ESD:=          yes
 .include "../../audio/bmp/Makefile.common"
 
 PKGNAME=               ${DISTNAME:S/bmp/bmp-esound/}
@@ -11,10 +12,7 @@
 
 DEPENDS+=              bmp>=0.9.7:../../audio/bmp
 
-CONFIGURE_ARGS:=       ${CONFIGURE_ARGS:S/--disable-esd/--enable-esd/}
-
-BUILD_DIRS=            ${WRKSRC}/Output/esd
-INSTALL_DIRS=          ${WRKSRC}/Output/esd
+BUILD_DIRS=            Output/esd
 
 .include "../../audio/esound/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 701ca18cd08b -r 71e181fd6a5e audio/bmp/Makefile.common
--- a/audio/bmp/Makefile.common Wed May 31 08:59:13 2006 +0000
+++ b/audio/bmp/Makefile.common Wed May 31 09:12:18 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.19 2006/03/09 21:04:39 jlam Exp $
+# $NetBSD: Makefile.common,v 1.20 2006/05/31 09:12:18 rillig Exp $
 #
 
 DISTNAME=      bmp-0.9.7
@@ -22,8 +22,14 @@
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            pkg-config
 
+BMP_USE_ESD?=          no
+
 CONFIGURE_ARGS+=       --disable-alsa
+.if !empty(BMP_USE_ESD:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+=       --enable-esd
+.else
 CONFIGURE_ARGS+=       --disable-esd
+.endif
 CONFIGURE_ARGS+=       --disable-opengl
 .if defined(BMP_ENABLE_ENCODERS) && !empty(BMP_ENABLE_ENCODERS:M[Yy][Ee][Ss])
 CONFIGURE_ARGS+=       --enable-mp3



Home | Main Index | Thread Index | Old Index