Support stage

Unconditionnaly disable esound
This commit is contained in:
Baptiste Daroussin 2014-01-04 18:01:18 +00:00
parent cf7913070d
commit 5ae7372156
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338657
2 changed files with 3 additions and 12 deletions

View file

@ -10,26 +10,16 @@ MAINTAINER= neuroworker@gmail.com
COMMENT= MikMod Sound Library COMMENT= MikMod Sound Library
USE_AUTOTOOLS= libtool USE_AUTOTOOLS= libtool
NO_STAGE= yes
WANT_GNOME= yes WANT_GNOME= yes
USE_GNOME= lthack USE_GNOME= lthack
USES= gmake USES= gmake
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --disable-esd
USE_LDCONFIG= yes USE_LDCONFIG= yes
MAN1= libmikmod-config.1
INFO= mikmod INFO= mikmod
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mesound}!=""
USE_GNOME+= esound
CONFIGURE_ARGS+= --enable-esd
.else
CONFIGURE_ARGS+= --disable-esd
.endif
post-extract: post-extract:
@${RM} -f ${WRKSRC}/docs/mikmod.info-* @${RM} -f ${WRKSRC}/docs/mikmod.info-*
@ -42,4 +32,4 @@ post-patch:
-e 's|-lc_r|${PTHREAD_LIBS:S/"//g}|g' \ -e 's|-lc_r|${PTHREAD_LIBS:S/"//g}|g' \
${WRKSRC}/configure ${WRKSRC}/configure
.include <bsd.port.post.mk> .include <bsd.port.mk>

View file

@ -4,4 +4,5 @@ lib/libmikmod.a
lib/libmikmod.la lib/libmikmod.la
lib/libmikmod.so lib/libmikmod.so
lib/libmikmod.so.2 lib/libmikmod.so.2
man/man1/libmikmod-config.1.gz
share/aclocal/libmikmod.m4 share/aclocal/libmikmod.m4