summaryrefslogtreecommitdiff
path: root/emulators/gxemul/files/patch-configure
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-11-18 08:51:08 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-11-18 08:51:08 +0000
commitc767f350f49e455f482714d554dca787372938ba (patch)
tree4c3b5713bf9854f5455a5dbce8e5bfb546f9cb9c /emulators/gxemul/files/patch-configure
parentMark DEPRECATED. EOL upstream, and successor already in place (diff)
emulators/gxemul: Update to 0.6.0.2
- Build with Clang - Update WWW; the sf.net project is gone - vga.h is now included with "../include/vga.h" so the conflict with svgalib should be gone - Make sure various build dependencies are not accidentally auto-detected - Add missing xterm dependency; gxemul tries to run xterm when run under X for serial console output - Take maintainership Changes: http://gavare.se/gxemul/gxemul-stable/doc/RELEASE.html
Notes
Notes: svn path=/head/; revision=485218
Diffstat (limited to 'emulators/gxemul/files/patch-configure')
-rw-r--r--emulators/gxemul/files/patch-configure38
1 files changed, 38 insertions, 0 deletions
diff --git a/emulators/gxemul/files/patch-configure b/emulators/gxemul/files/patch-configure
new file mode 100644
index 000000000000..8cb11e97e73e
--- /dev/null
+++ b/emulators/gxemul/files/patch-configure
@@ -0,0 +1,38 @@
+--- configure.orig 2018-09-06 07:41:13 UTC
++++ configure
+@@ -360,10 +360,10 @@ if [ z$NOX11 = z ]; then
+
+ XOK=0
+
+- XINCLUDE=-I/usr/X11R6/include
++ XINCLUDE=-I${LOCALBASE}/include
+ $CXX $CXXFLAGS _test_x11.cc -c -o _test_x11.o $XINCLUDE 2> /dev/null
+
+- XLIB="-L/usr/X11R6/lib -lX11"
++ XLIB="-L${LOCALBASE}/lib -lX11"
+ $CXX $CXXFLAGS _test_x11.o -o _test_x11 $XLIB 2> /dev/null
+
+ if [ -x _test_x11 ]; then
+@@ -578,22 +578,6 @@ else
+ fi
+ fi
+ rm -f _testprog _testprog.error _testprog.stdout
+-
+-
+-# -O optimization for non-debug builds. Try -O and -O3.
+-if [ ! z"$DEBUG" = zYES ]; then
+- $CXX $CXXFLAGS -O _testprog.cc -o _testprog 2> /dev/null
+- if [ -x _testprog ]; then
+- rm -f _testprog
+- $CXX $CXXFLAGS -O3 _testprog.cc -o _testprog 2> /dev/null
+- if [ -x _testprog ]; then
+- CXXFLAGS="-O3 $CXXFLAGS"
+- else
+- CXXFLAGS="-O $CXXFLAGS"
+- fi
+- fi
+-fi
+-rm -f _testprog
+
+
+ # -fpeephole