diff options
author | miwi <miwi@FreeBSD.org> | 2006-11-25 06:10:58 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-11-25 06:10:58 +0800 |
commit | 31cdc753e09cc29950a07e19f1c72eaafff49ebd (patch) | |
tree | 765ad567fcced21e68713fdf94e5759b011e7376 /games | |
parent | 53ea0f69cef06d3a2dc8f7abb9c0c044e29cbe9b (diff) | |
download | freebsd-ports-gnome-31cdc753e09cc29950a07e19f1c72eaafff49ebd.tar.gz freebsd-ports-gnome-31cdc753e09cc29950a07e19f1c72eaafff49ebd.tar.zst freebsd-ports-gnome-31cdc753e09cc29950a07e19f1c72eaafff49ebd.zip |
- Respect X11BASE
PR: ports/105817
Submitted by: trasz
Diffstat (limited to 'games')
-rw-r--r-- | games/xevil/files/patch-aa | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/xevil/files/patch-aa b/games/xevil/files/patch-aa index 00979328c3da..5ef4b4fb11b8 100644 --- a/games/xevil/files/patch-aa +++ b/games/xevil/files/patch-aa @@ -1,5 +1,5 @@ --- config.mk.orig Sun Mar 23 00:08:58 2003 -+++ config.mk Sat Oct 25 21:05:31 2003 ++++ config.mk Fri Nov 24 15:44:19 2006 @@ -34,7 +34,7 @@ # You can add -DNDEBUG to speed up a release build by removing the assert() # calls. But, on a really obscure Linux machine, this caused Xlib to blow up @@ -20,14 +20,16 @@ archit=$$HOSTTYPE ; \ elif [ $${hosttype-bob} != bob ] ; then \ archit=$$hosttype ; \ -@@ -161,8 +163,8 @@ +@@ -161,9 +163,9 @@ # The -DMSEC_PER_CLOCK=8 is kind of a hack, take it out if the game speed of # XEvil is all screwed up. freebsd: - @$(MAKE) CC="c++" \ -CFLAGS="-DUSE_RANDOM -DPROTECTED_IS_PUBLIC -DMSEC_PER_CLOCK=8 -DUNAME_USR_BIN" \ +-INCL_DIRS="-I/usr/X11R6/include" LIBS_DIRS="-L/usr/X11R6/lib" \ + @$(MAKE) CC="${CXX}" \ +CFLAGS="-DUSE_RANDOM -DUSE_UINT_NET_LENGTH -DUNAME_USR_BIN ${CXXFLAGS}" \ - INCL_DIRS="-I/usr/X11R6/include" LIBS_DIRS="-L/usr/X11R6/lib" \ ++INCL_DIRS="-I$(X11BASE)/include" LIBS_DIRS="-L$(X11BASE)/lib" \ OBJ_DIR=$(DEPTH)/x11/FREEBSD PCKG_NAME="freebsd" \ LIBS="-lXpm -lX11 -lm" $(TARGETS) + |