summaryrefslogtreecommitdiff
path: root/games/bzflag/patches/patch-ad
blob: 9855c3782f6c5dc866ca598663d479095a783f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ad,v 1.2 2003/12/13 10:32:53 xtraeme Exp $

--- configure.orig	Tue Dec  9 17:08:21 2003
+++ configure	Thu Dec 11 00:55:53 2003
@@ -2515,7 +2515,7 @@
 fi
 
 
-LDFLAGS=$X_LIBS
+LDFLAGS="$X_LIBS $LDFLAGS"
 case $host_os in
   solaris*)
     GLIBS="-lresolv -laudio $GLIBS";
@@ -2724,7 +2724,7 @@
 
 # avoid using X11 in BeOS
 if test $host_os != beos; then
-  CPPFLAGS=
+  CPPFLAGS="$X_CFLAGS $CPPFLAGS"
   if test x$no_x = x; then
     GLIBS="$X_PRE_LIBS -lX11 $EXTRA_LIBS $GLIBS"
   fi