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/musicpc | |
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/musicpc')
-rw-r--r-- | audio/musicpc/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/audio/musicpc/Makefile b/audio/musicpc/Makefile index 46697ecbfe5f..d6737f28f700 100644 --- a/audio/musicpc/Makefile +++ b/audio/musicpc/Makefile @@ -27,14 +27,9 @@ PLIST_FILES= bin/mpc man/man1/mpc.1.gz PORTDOCS= AUTHORS README NEWS PORTEXAMPLES= * -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MICONV} -USES+= iconv -LDFLAGS+= ${ICONV_LIB} -.else -CONFIGURE_ARGS+=--disable-iconv -.endif +ICONV_USES= iconv +ICONV_LDFLAGS= ${ICONV_LIB} +ICONV_CONFIGURE_ENABLE= iconv post-patch: @${REINPLACE_CMD} -e 's|-lintl|${ICONV_LIB}|g' ${WRKSRC}/configure |