From a35a33755c11a304832f478c76d37b09a0e06a66 Mon Sep 17 00:00:00 2001 From: oliver Date: Sun, 24 Jun 2012 10:01:46 +0000 Subject: add libguess support PR: 166172 Submitted By: Stanislav Sedov --- multimedia/audacious/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'multimedia') diff --git a/multimedia/audacious/Makefile b/multimedia/audacious/Makefile index d033abdd862c..95a075a62574 100644 --- a/multimedia/audacious/Makefile +++ b/multimedia/audacious/Makefile @@ -32,15 +32,13 @@ MAN1= audacious.1 audtool.1 PORTDOCS= README AUTHORS -# no ports for: -# CHARSET "Build with automatic charset detection" off \ - OPTIONS= DBUS "Build with dbus support" on \ GNOME "Build with gconf support" off \ - ICONV "Build with iconv support" on \ + ICONV "Build with iconv support" on \ NLS "Native Language Support" on \ EXECINFO "Build with libexecinfo support" on \ - SSE2 "Build with SSE2 instruction set" on + SSE2 "Build with SSE2 instruction set" on \ + CHARSET "Build with automatic charset detection" on .include @@ -79,6 +77,13 @@ PLIST_SUB+= NLS="@comment " CONFIGURE_ARGS+=--disable-sse2 .endif +.if defined(WITH_CHARSET) +LIB_DEPENDS+= guess.1:${PORTSDIR}/textproc/libguess +CONFIGURE_ARGS+=--enable-chardet +.else +CONFIGURE_ARGS+=--disable-chardet +.endif + post-patch: @${REINPLACE_CMD} 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g' \ ${WRKSRC}/Makefile -- cgit