aboutsummaryrefslogtreecommitdiffstats
path: root/audio/muse
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
committermat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
commit9d30f78a00bed11384c7259f662e9352754275db (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /audio/muse
parent996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff)
downloadfreebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.gz
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.zst
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'audio/muse')
-rw-r--r--audio/muse/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/audio/muse/Makefile b/audio/muse/Makefile
index c52488ab11b8..88ff8179547a 100644
--- a/audio/muse/Makefile
+++ b/audio/muse/Makefile
@@ -37,15 +37,12 @@ SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
X11_USE= GNOME=gtk20
X11_CONFIGURE_OFF= --without-x --with-rubik
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' \
${WRKSRC}/src/portaudio/pa_unix_oss.c
-.if empty(PORT_OPTIONS:MSNDFILE)
+post-patch-SNDFILE-off:
@${REINPLACE_CMD} -e '/sndfile >=/s|$$PKG_CONFIG|${FALSE}|' \
${WRKSRC}/configure
-.endif
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}