1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/cad/systemc/files/patch-configure
Thierry Thomas 5d127513f7 - 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)
2006-04-01 22:50:56 +00:00

37 lines
932 B
Plaintext

--- 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