summaryrefslogtreecommitdiff
path: root/games/quakeforge/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'games/quakeforge/files/patch-configure')
-rw-r--r--games/quakeforge/files/patch-configure26
1 files changed, 26 insertions, 0 deletions
diff --git a/games/quakeforge/files/patch-configure b/games/quakeforge/files/patch-configure
new file mode 100644
index 000000000000..587800682134
--- /dev/null
+++ b/games/quakeforge/files/patch-configure
@@ -0,0 +1,26 @@
+--- configure.orig Sun Jul 27 13:19:51 2003
++++ configure Sun Jul 27 13:41:57 2003
+@@ -2042,10 +2042,10 @@
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+-if test ${CFLAGS-unset} = unset; then
++if test "${CFLAGS-unset}" = unset; then
+ CFLAGS=""
+ fi
+-if test ${AR-unset} = unset; then
++if test "${AR-unset}" = unset; then
+ AR="ar"
+ fi
+ export AR
+@@ -8333,6 +8333,9 @@
+ else
+ CPP_NAME="cpp %d -o %o %i"
+ case "$target_os" in
++ *freebsd*)
++ CPP_NAME="cpp %d %i %o"
++ ;;
+ *bsd*)
+ touch conftest.c
+ CPP_NAME="`(f=\`$CC -v -E -Dfoo conftest.c -o conftest.i 2>&1 | grep -e -Dfoo\`; set $f; echo "$1")` %d %i %o"
+