diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2008-07-05 16:24:10 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2008-07-05 16:24:10 +0000 |
commit | b72db1b8412f6d5e278f8bd03d4d1ef7217c5b29 (patch) | |
tree | fb152b8507c0ff6bb1a376d9c5565ff36ef9b73d /audio/flac | |
parent | bc905a137bdeb987a95100416dc5d005a9859f42 (diff) | |
download | ports-b72db1b8412f6d5e278f8bd03d4d1ef7217c5b29.tar.gz ports-b72db1b8412f6d5e278f8bd03d4d1ef7217c5b29.zip |
Add WITHOUT_ICONV knob. Use at your own peril.
PR: 124181
Submitted by: Helge Oldach
Notes
Notes:
svn path=/head/; revision=216379
Diffstat (limited to 'audio/flac')
-rw-r--r-- | audio/flac/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/flac/Makefile b/audio/flac/Makefile index aadc6a42741a..37c7d32f9346 100644 --- a/audio/flac/Makefile +++ b/audio/flac/Makefile @@ -17,16 +17,21 @@ COMMENT= Free lossless audio codec LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg USE_AUTOTOOLS= libtool:15 -USE_ICONV= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --target=${ARCH}-unknown-freebsd${OSREL} CONFIGURE_ARGS= --enable-sse \ - --with-libiconv-prefix="${LOCALBASE}" \ --with-ogg="${LOCALBASE}" \ --disable-thorough-tests \ --disable-xmms-plugin CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/include" +.if !defined(WITHOUT_ICONV) +USE_ICONV= yes +CONFIGURE_ARGS+=--with-libiconv-prefix="${LOCALBASE}" +.else +CONFIGURE_ARGS+=--without-libiconv-prefix +.endif + MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig" MAKE_ENV= MAKEOBJDIR=/nonexistent # ignore ${WRKSRC}/obj .if defined(NOPORTDOCS) |