diff options
author | demon <demon@FreeBSD.org> | 2002-09-06 07:03:53 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2002-09-06 07:03:53 +0800 |
commit | 2cb2329fad24643822562fb2fd8b5eda7362d76e (patch) | |
tree | d4bd0ee78d1a48355bfe8f388769b46d1e75d560 /games/seahaven | |
parent | 81637ec7ab984d7ed14a56928a9ec8fc1db1fee6 (diff) | |
download | freebsd-ports-gnome-2cb2329fad24643822562fb2fd8b5eda7362d76e.tar.gz freebsd-ports-gnome-2cb2329fad24643822562fb2fd8b5eda7362d76e.tar.zst freebsd-ports-gnome-2cb2329fad24643822562fb2fd8b5eda7362d76e.zip |
Respect CFLAGS.
MAINTAINER timeout.
Diffstat (limited to 'games/seahaven')
-rw-r--r-- | games/seahaven/files/patch-configure | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games/seahaven/files/patch-configure b/games/seahaven/files/patch-configure new file mode 100644 index 000000000000..20a7a8606a99 --- /dev/null +++ b/games/seahaven/files/patch-configure @@ -0,0 +1,14 @@ +--- configure Sat Aug 17 12:15:42 2002 ++++ configure.orig Sat Aug 17 12:15:20 2002 +@@ -1805,9 +1805,9 @@ + if test -n "$GXX"; then + # GNU C compiler + # -Wno-return-type is necessary for Xlib header files on many systems: +- CFLAGS="-Wall -Wno-return-type -O2 $X_CFLAGS" ++ CFLAGS="$CFLAGS $X_CFLAGS" + CFLAGS_D="-Wall -Wno-return-type -g -DDEBUG $X_CFLAGS" +- CXXFLAGS="-Wall -Wno-return-type -O2 $X_CFLAGS" ++ CXXFLAGS="$CXXFLAGS $X_CFLAGS" + CXXFLAGS_D="-Wall -Wno-return-type -g -DDEBUG $X_CFLAGS" + else + if test "`(uname) 2>/dev/null`" = IRIX; then |