Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2006 15:51:30 +0100 (CET)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105817: [PATCH] games/xevil: respect X11BASE
Message-ID:  <20061124145130.38D6E39DB8@pin.if.uz.zgora.pl>
Resent-Message-ID: <200611241500.kAOF0QgY061586@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105817
>Category:       ports
>Synopsis:       [PATCH] games/xevil: respect X11BASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 24 15:00:26 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Respect X11BASE.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- xevil-2.02.r2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/xevil/files/patch-aa /home/trasz/xevil/files/patch-aa
--- /usr/ports/games/xevil/files/patch-aa	Mon Nov  3 19:59:15 2003
+++ /home/trasz/xevil/files/patch-aa	Fri Nov 24 15:50:53 2006
@@ -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)
+ 
--- xevil-2.02.r2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061124145130.38D6E39DB8>