summaryrefslogtreecommitdiff
path: root/cad/systemc/files/patch-configure
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-04-01 22:50:56 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-04-01 22:50:56 +0000
commit5d127513f7d37d3cfc2aa7c3e67c8a3b5416346f (patch)
tree559ded526231fb895c077b79e04ff247fb1401df /cad/systemc/files/patch-configure
parent- Pass maintainership to Dan Langille (diff)
- Fix installation;
- Add an entry in ports/LEGAL; - Clean up the port; - Make pkg-descr look pretty and make some sligth adjustments to pkg-plist. PR: 93879 Submitted by: Daniel Thiele <dthiele (at) gmx.net> (maintainer)
Notes
Notes: svn path=/head/; revision=158602
Diffstat (limited to 'cad/systemc/files/patch-configure')
-rw-r--r--cad/systemc/files/patch-configure36
1 files changed, 36 insertions, 0 deletions
diff --git a/cad/systemc/files/patch-configure b/cad/systemc/files/patch-configure
new file mode 100644
index 000000000000..49d164b640ac
--- /dev/null
+++ b/cad/systemc/files/patch-configure
@@ -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"
++ ;;
++ *)
++ { { echo "$as_me:$LINENO: error: \"sorry...compiler not supported\"" >&5
++echo "$as_me: error: \"sorry...compiler not supported\"" >&2;}
++ { (exit 1); exit 1; }; }
++ ;;
++ esac
++ AS=as
++ QT_ARCH="iX86"
++ ;;
+ *linux*)
+ case "$CXX_COMP" in
+ c++ | g++)
+@@ -3387,7 +3406,6 @@
+
+
+ test "x$prefix" = xNONE && prefix=$srcdir
+-current_dir=`pwd`; cd $prefix; prefix=`pwd`; cd $current_dir
+
+
+