ports/93879: [PATCH] FIXED systemc installation problem and cleaned up Makefile

Thierry Thomas thierry at FreeBSD.org
Fri Mar 24 15:30:25 UTC 2006


The following reply was made to PR ports/93879; it has been noted by GNATS.

From: Thierry Thomas <thierry at FreeBSD.org>
To: Daniel Thiele <dthiele at gmx.net>
Cc: FreeBSD-gnats-submit at 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.



More information about the freebsd-ports-bugs mailing list