From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 24 15:30:24 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 EC15316A400 for ; Fri, 24 Mar 2006 15:30:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BDBE43D45 for ; Fri, 24 Mar 2006 15:30:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2OFUO0I095207 for ; Fri, 24 Mar 2006 15:30:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2OFUOrv095206; Fri, 24 Mar 2006 15:30:24 GMT (envelope-from gnats) Date: Fri, 24 Mar 2006 15:30:24 GMT Message-Id: <200603241530.k2OFUOrv095206@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Thierry Thomas Cc: Subject: Re: ports/93879: [PATCH] FIXED systemc installation problem and cleaned up Makefile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 15:30:25 -0000 The following reply was made to PR ports/93879; it has been noted by GNATS. From: Thierry Thomas To: Daniel Thiele Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/93879: [PATCH] FIXED systemc installation problem and cleaned up Makefile Date: Fri, 24 Mar 2006 16:29:25 +0100 Hello, > diff -Nur /usr/ports/cad/systemc/files/patch-configure ./files/patch-configure > --- /usr/ports/cad/systemc/files/patch-configure Thu Jan 1 01:00:00 1970 > +++ ./files/patch-configure Sun Feb 26 23:36:43 2006 > @@ -0,0 +1,36 @@ > +--- configure.orig Sun Feb 26 23:35:41 2006 > ++++ configure Sun Feb 26 23:34:39 2006 > +@@ -3309,6 +3309,25 @@ > + AS=as > + QT_ARCH="sparc-os2" > + ;; > ++ *freebsd*) > ++ case "$CXX_COMP" in > ++ c++ | g++) > ++ EXTRA_CXXFLAGS="-Wall" > ++ DEBUG_CXXFLAGS="-g" > ++ OPT_CXXFLAGS="-O3" > ++ TARGET_ARCH="freebsd" > ++ CC="$CXX" > ++ CFLAGS="$EXTRA_CXXFLAGS $OPT_CXXFLAGS" Why do you force optimization flag to -O3? In these cases, you don't respect the original CFLAGS. Please run find /usr/ports -name Makefile | xargs grep OPTIMIZED_CFLAGS to find some examples of ports dealing with this. Regards, -- Th. Thomas.