You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-simulation/cannonsmash/files/cannonsmash-0.6.6-x-inc.patch

19 lines
305 B

Patch by Jason Bucata.
http://bugs.gentoo.org/84187
--- configure
+++ configure
@@ -5515,7 +5515,11 @@
fi
-CFLAGS="-I $x_includes"
+if test "x$x_includes" != "x"; then
+ CFLAGS="-I $x_includes"
+else
+ CFLAGS=""
+fi
LDFLAGS="-L/usr/local/lib -L$x_libraries -L$libdir"
CXXFLAGS="$CFLAGS -Wall"