From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 26 19:10:19 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D787416A4CE for ; Thu, 26 Aug 2004 19:10:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C251D43D73 for ; Thu, 26 Aug 2004 19:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7QJAJ2m066731 for ; Thu, 26 Aug 2004 19:10:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7QJAJ7P066688; Thu, 26 Aug 2004 19:10:19 GMT (envelope-from gnats) Resent-Date: Thu, 26 Aug 2004 19:10:19 GMT Resent-Message-Id: <200408261910.i7QJAJ7P066688@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, "Paul Seniura" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FAE216A4CE; Thu, 26 Aug 2004 19:08:10 +0000 (GMT) Received: from odot.okladot.state.ok.us (odot.okladot.state.ok.us [192.149.244.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55CE343D2F; Thu, 26 Aug 2004 19:08:09 +0000 (GMT) (envelope-from root@techpc04.okladot.state.ok.us) Received: from notes9c.okladot.state.ok.us (notes9c.okladot.state.ok.us [10.36.36.31])OAA30362; Thu, 26 Aug 2004 14:08:02 -0500 Received: from isdmon2.okladot.state.ok.us ([192.149.244.24]) by notes9c.okladot.state.ok.us (Lotus Domino Release 6.5.1) with ESMTP id 2004082614085032-36479 ; Thu, 26 Aug 2004 14:08:50 -0500 Received: from techpc04.okladot.state.ok.us (techpc04.okladot.state.ok.us [199.27.9.37])i7QJ6Nor024787; Thu, 26 Aug 2004 14:06:23 -0500 (CDT) (envelope-from root@techpc04.okladot.state.ok.us) Received: by techpc04.okladot.state.ok.us (Postfix, from userid 0) id 5C1BF5CA3; Thu, 26 Aug 2004 14:05:59 -0500 (CDT) Message-Id: <20040826190559.5C1BF5CA3@techpc04.okladot.state.ok.us> Date: Thu, 26 Aug 2004 14:05:59 -0500 (CDT) From: "Paul Seniura" Sender: "Paul Seniura" To: X-Send-Pr-Version: 3.113 cc: lofi@FreeBSD.org Subject: ports/71001: [PATCH] audio/ices: respect CFLAGS during compile :) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Seniura List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 19:10:20 -0000 >Number: 71001 >Category: ports >Synopsis: [PATCH] audio/ices: respect CFLAGS during compile :) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 26 19:10:19 GMT 2004 >Closed-Date: >Last-Modified: >Originator: "Paul Seniura" >Release: FreeBSD 6.0-CURRENT i386 >Organization: State of Okla. D.O.T. >Environment: System: FreeBSD techpc04.okladot.state.ok.us 6.0-CURRENT FreeBSD 6.0-CURRENT #2: Thu Aug 26 10:20:53 CDT 2004 root@techpc04.okladot.state.ok.us:/usr/obj/src/sys/IBM300SY_4BSD_Os i386 >Description: The FreeBSD port skeleton Makefile for audio/ices wipes out CFLAGS set in /etc/make.conf and/or elsewhere. >How-To-Repeat: Set CFLAGS in /etc/make.conf. Let the app build normally. See no specified CFLAGS in the report output. >Fix: Apply this patch to the port-side Makefile (not the original project): ===cut-here=== --- Makefile_orig Wed Aug 25 17:00:06 2004 +++ Makefile Thu Aug 26 12:20:04 2004 @@ -18,7 +18,7 @@ vorbis.3:${PORTSDIR}/audio/libvorbis \ xml2.5:${PORTSDIR}/textproc/libxml2 -CONFIGURE_ENV= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ +CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" USE_GMAKE= yes USE_LIBTOOL_VER= 13 ===cut-here=== We couldn't get this port to compile with -mcpu=pentium2 et al. until this patch is applied. The project's own makefile adds its own -f flags to induce more optimizations. This will continue to be proper after this patch. -- thx, Paul Seniura System Specialist State of Okla. D.O.T. >Release-Note: >Audit-Trail: >Unformatted: