diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-08-16 19:51:41 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-08-16 19:51:41 +0000 |
commit | 13cc890dfb55917a8465e8c7021b45524ca69284 (patch) | |
tree | 415f56fddf53289ee2c41866eed874e8710c9a91 /audio/libmikmod | |
parent | Delete unused platform dependent mozilla dists. (diff) |
* Optionalize esound. Suggested by:
PR: 41594
Submitted by: Brad Laue <brad@brad-x.com>
* Remove unneeded gmake dependency.
Notes
Notes:
svn path=/head/; revision=64590
Diffstat (limited to 'audio/libmikmod')
-rw-r--r-- | audio/libmikmod/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/audio/libmikmod/Makefile b/audio/libmikmod/Makefile index 6f740b58ef14..a2d13a60fd8b 100644 --- a/audio/libmikmod/Makefile +++ b/audio/libmikmod/Makefile @@ -15,14 +15,22 @@ MASTER_SITE_SUBDIR= apps/sound/libs MAINTAINER= ports@FreeBSD.org USE_REINPLACE= yes -USE_ESOUND= yes -USE_GMAKE= yes +WANT_ESOUND= yes USE_LIBTOOL= yes CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" INSTALLS_SHLIB= yes MAN1= libmikmod-config.1 +.include <bsd.port.pre.mk> + +.if defined(HAVE_ESOUND) +USE_ESOUND= yes +CONFIGURE_ARGS+= --enable-esd +.else +CONFIGURE_ARGS+= --disable-esd +.endif + post-extract: @${RM} -f ${WRKSRC}/docs/mikmod.info-* @@ -32,4 +40,4 @@ post-patch: s|-lpthread|${PTHREAD_LIBS:S/"//g}|g ; \ s|-lc_r|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> |