diff options
author | jmmv <jmmv> | 2003-09-14 18:00:30 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-09-14 18:00:30 +0000 |
commit | e51cf7149d3c39c166b880c3783eb23827c15d36 (patch) | |
tree | 6e6cdb9603e76633ec05c3941bff40a6b4a4c2fd /audio/libmikmod | |
parent | f943adf6c02754c8fb0e2563d765e51650f366f4 (diff) | |
download | pkgsrc-e51cf7149d3c39c166b880c3783eb23827c15d36.tar.gz |
Make esound support optional, through USE_ESOUND.
Diffstat (limited to 'audio/libmikmod')
-rw-r--r-- | audio/libmikmod/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/audio/libmikmod/Makefile b/audio/libmikmod/Makefile index 219765bcc63..af165cef981 100644 --- a/audio/libmikmod/Makefile +++ b/audio/libmikmod/Makefile @@ -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 @@ INFO_FILES= mikmod.info 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" |