ports/124181: [patch] enable audio/flac WITHOUT_ICONV
Helge Oldach
ports-audio-flac-jun08 at oldach.net
Sun Jun 1 08:30:03 UTC 2008
>Number: 124181
>Category: ports
>Synopsis: [patch] enable audio/flac WITHOUT_ICONV
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 01 08:30:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Helge Oldach
>Release: FreeBSD 6.3-1230 i386
>Organization:
>Environment:
System: FreeBSD localhost 6.3-1230 FreeBSD 6.3-1230 #0: Tue May 20 17:05:20 CEST 2008 toor at localhost:/usr/obj/usr/src/sys/HMO i386
>Description:
audio/flac can work without libiconv installed (for those who want to
avoid linkage and dependency bloat).
>How-To-Repeat:
>Fix:
--- Makefile.ctm 2008-04-08 14:58:12.000000000 +0200
+++ Makefile 2008-06-01 10:07:52.000000000 +0200
@@ -17,16 +17,21 @@
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)
+CONFIGURE_ARGS+=--without-libiconv-prefix
+.else
+USE_ICONV= yes
+CONFIGURE_ARGS+=--with-libiconv-prefix="${LOCALBASE}"
+.endif
+
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
MAKE_ENV= MAKEOBJDIR=/nonexistent # ignore ${WRKSRC}/obj
.if defined(NOPORTDOCS)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list