diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
commit | bb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch) | |
tree | ac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /audio/festival | |
parent | 29879aded766da253313579a3503ff5e15026355 (diff) | |
download | ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip |
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes:
svn path=/head/; revision=394778
Diffstat (limited to 'audio/festival')
-rw-r--r-- | audio/festival/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/audio/festival/Makefile b/audio/festival/Makefile index 758670cf720f..de23dc6accdc 100644 --- a/audio/festival/Makefile +++ b/audio/festival/Makefile @@ -75,18 +75,12 @@ post-patch:: ${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \ ${WRKSRC}/*/config/systems/default.mak -.include <bsd.port.options.mk> - .for m in nas esd -. if ${PORT_OPTIONS:M${m:tu}} -LIB_DEPENDS+= lib${m:nas=audio}.so:${PORTSDIR}/audio/${m:esd=esound} -post-patch:: +${m:tu}_LIB_DEPENDS= lib${m:nas=audio}.so:${PORTSDIR}/audio/${m:esd=esound} +post-patch-${m:tu}-on: ${REINPLACE_CMD} -e 's,# INCLUDE_MODULES += ${m:tu}_AUDIO,INCLUDE_MODULES += ${m:tu}_AUDIO,' \ ${WRKDIR}/*/config/config.in -CONFIGURE_ARGS+=--enable-$m -. else -CONFIGURE_ARGS+=--disable-$m -. endif +${m:tu}_CONFIGURE_ENABLE=${m} .endfor do-configure: |