pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libmikmod Make esound support optional, through ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/56e0aa49d7b9
branches: trunk
changeset: 461346:56e0aa49d7b9
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Sun Sep 14 18:00:30 2003 +0000
description:
Make esound support optional, through USE_ESOUND.
diffstat:
audio/libmikmod/Makefile | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 86deb2bff2d6 -r 56e0aa49d7b9 audio/libmikmod/Makefile
--- a/audio/libmikmod/Makefile Sun Sep 14 17:51:50 2003 +0000
+++ b/audio/libmikmod/Makefile Sun Sep 14 18:00:30 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2003/08/09 10:29:55 seb Exp $
+# $NetBSD: Makefile,v 1.22 2003/09/14 18:00:30 jmmv Exp $
DISTNAME= libmikmod-3.1.10
CATEGORIES= audio
@@ -18,14 +18,20 @@
CONFIGURE_ARGS+= --disable-threads
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= USE_ESOUND
+.if defined(USE_ESOUND) && !empty(USE_ESOUND:M[Yy][Ee][Ss])
+.include "../../audio/esound/buildlink2.mk"
+.else
+CONFIGURE_ARGS+= --disable-esd
+.endif
+
pre-build:
${RM} -f ${WRKSRC}/docs/mikmod.info*
-.include "../../mk/bsd.prefs.mk"
-
.if defined(USE_OSS)
. include "../../mk/ossaudio.buildlink2.mk"
.endif
-.include "../../audio/esound/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index