From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 1 08:30:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCC1D1065674 for ; Sun, 1 Jun 2008 08:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C77F18FC15 for ; Sun, 1 Jun 2008 08:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m518U3ct025598 for ; Sun, 1 Jun 2008 08:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m518U3rE025589; Sun, 1 Jun 2008 08:30:03 GMT (envelope-from gnats) Resent-Date: Sun, 1 Jun 2008 08:30:03 GMT Resent-Message-Id: <200806010830.m518U3rE025589@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Helge Oldach Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17E0E1065675 for ; Sun, 1 Jun 2008 08:20:12 +0000 (UTC) (envelope-from hmo@sep.oldach.net) Received: from rigel.oldach.net (rigel.oldach.net [194.8.96.250]) by mx1.freebsd.org (Postfix) with ESMTP id B69A58FC18 for ; Sun, 1 Jun 2008 08:20:11 +0000 (UTC) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (hmo.in-dsl.de [217.197.85.210]) by rigel.oldach.net (8.14.2/8.14.2/hmo30jul04) with ESMTP id m518K9Bb064561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 1 Jun 2008 10:20:10 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (localhost [127.0.0.1]) by sep.oldach.net (8.14.2/8.14.2/hmo26jun05) with ESMTP id m518K8Za026610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Jun 2008 10:20:08 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: (from hmo@localhost) by sep.oldach.net (8.14.2/8.14.2/Submit/hmo26jun05) id m518K8kw026609; Sun, 1 Jun 2008 10:20:08 +0200 (CEST) (envelope-from hmo) Message-Id: <200806010820.m518K8kw026609@sep.oldach.net> Date: Sun, 1 Jun 2008 10:20:08 +0200 (CEST) From: Helge Oldach To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: naddy@FreeBSD.org Subject: ports/124181: [patch] enable audio/flac WITHOUT_ICONV X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Helge Oldach List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 08:30:03 -0000 >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@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: