Date: Fri, 4 Apr 2014 23:07:36 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350184 - head/audio/aqualung Message-ID: <201404042307.s34N7aKW045106@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Apr 4 23:07:36 2014 New Revision: 350184 URL: http://svnweb.freebsd.org/changeset/ports/350184 QAT: https://qat.redports.org/buildarchive/r350184/ Log: Support stage Specify the port uses nested function (fix build on freebsd 10 and 11) Use options helpers (this fix inverted option checking) Modified: head/audio/aqualung/Makefile head/audio/aqualung/pkg-plist Modified: head/audio/aqualung/Makefile ============================================================================== --- head/audio/aqualung/Makefile Fri Apr 4 23:03:36 2014 (r350183) +++ head/audio/aqualung/Makefile Fri Apr 4 23:07:36 2014 (r350184) @@ -3,7 +3,7 @@ PORTNAME= aqualung DISTVERSION= 0.9beta11 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} \ http://wickedmachine.net/mirror/ @@ -32,33 +32,24 @@ LIB_DEPENDS= libsamplerate.so:${PORTSDIR libcddb.so:${PORTSDIR}/audio/libcddb \ libstrfunc.so:${PORTSDIR}/devel/libstrfunc -NO_STAGE= yes -USES= gmake pkgconfig gettext +USES= gmake pkgconfig gettext compiler:nestedfct USE_GNOME= gtk20 libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-transform-name="" --with-alsa=no --with-ifp=no \ --with-cdda=no CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lstrfunc -MAN1= ${PORTNAME}.1 OPTIONS_DEFINE= JACK PULSEAUDIO DOCS -.include <bsd.port.options.mk> +JACK_CONFIGURE_OFF= --with-jack=no +JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack +JACK_CONFIGURE_ON= --with-jack=yes + +PULSEAUDIO_CONFIGURE_OFF= --with-pulse=no +PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio +PULSEAUDIO_CONFIGURE_ON= --with-pulse=yes -.if ${PORT_OPTIONS:MJACK} -CONFIGURE_ARGS+= --with-jack=no -.else -LIB_DEPENDS+= libjack.so:${PORTSDIR}/audio/jack -CONFIGURE_ARGS+= --with-jack=yes -.endif - -.if ${PORT_OPTIONS:MPULSEAUDIO} -CONFIGURE_ARGS+= --with-pulse=no -.else -LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio -CONFIGURE_ARGS+= --with-pulse=yes -.endif post-patch: @${REINPLACE_CMD} -e '/^docdir/s!=.*!= ${DOCSDIR}!'\ ${WRKSRC}/doc/Makefile.in @@ -66,9 +57,5 @@ post-patch: # ${WRKSRC}/configure @${ECHO_CMD} "#include <sys/stat.h>" >> ${WRKSRC}/src/common.h @${ECHO_CMD} "#include <sys/types.h>" >> ${WRKSRC}/src/common.h -.if ! ${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -e '/^install-data-am/s!install-docDATA!!'\ - ${WRKSRC}/doc/Makefile.in -.endif .include <bsd.port.mk> Modified: head/audio/aqualung/pkg-plist ============================================================================== --- head/audio/aqualung/pkg-plist Fri Apr 4 23:03:36 2014 (r350183) +++ head/audio/aqualung/pkg-plist Fri Apr 4 23:07:36 2014 (r350184) @@ -1,4 +1,5 @@ bin/aqualung +man/man1/aqualung.1.gz %%DATADIR%%/appearance.png %%DATADIR%%/cdda.png %%DATADIR%%/cddb.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404042307.s34N7aKW045106>