summaryrefslogtreecommitdiff
path: root/games/xjumpjump/files
diff options
context:
space:
mode:
authorMike Heffner <mikeh@FreeBSD.org>2002-07-01 06:20:05 +0000
committerMike Heffner <mikeh@FreeBSD.org>2002-07-01 06:20:05 +0000
commite67eb9e2eb554ff1a4f33e6d0cc9eff089bacd11 (patch)
tree46b8d904dde4671d1abe1dc6109963cf38f5b218 /games/xjumpjump/files
parentmetaport, plist must be empty (diff)
Prepare for xforms update. Remove hardcoded XPM depend.
Notes
Notes: svn path=/head/; revision=62250
Diffstat (limited to 'games/xjumpjump/files')
-rw-r--r--games/xjumpjump/files/patch-aa16
1 files changed, 11 insertions, 5 deletions
diff --git a/games/xjumpjump/files/patch-aa b/games/xjumpjump/files/patch-aa
index ab561b1a2eea..5a1c28f3892a 100644
--- a/games/xjumpjump/files/patch-aa
+++ b/games/xjumpjump/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Wed Feb 26 21:21:57 1997
-+++ Makefile Thu Mar 15 23:12:59 2001
-@@ -8,16 +8,16 @@
+--- Makefile.orig Wed Feb 26 15:21:57 1997
++++ Makefile Mon Jul 1 02:13:27 2002
+@@ -8,16 +8,19 @@
# Flags that might be overriden by top makefile
#=================================================================
@@ -14,6 +14,9 @@
-XINCLUDE= -I/usr/X11R6/include
-XLIB = -L/usr/X11R6/lib
+XINCLUDE= -I$(X11BASE)/include
++.if exists(${X11BASE}/include/X11/forms.h)
++XFORMSINC= -I${X11BASE}/include/X11
++.endif
+XLIB = -L$(X11BASE)/lib
-INSTDIR = /usr/local
@@ -24,9 +27,12 @@
INSTALL = install
INFODIR_DEFINE = -DINFO_TXT_FILE=\"$(INFODIR)/\"
-@@ -28,7 +28,7 @@
+@@ -26,9 +29,9 @@
+ # Flags the compiler will see
+ #=================================================================
- CFLAGS = $(CCFLAG) $(XINCLUDE)
+-CFLAGS = $(CCFLAG) $(XINCLUDE)
++CFLAGS = $(CCFLAG) $(XINCLUDE) $(XFORMSINC)
LDFLAGS = $(LDFLAG)
-LIBS = -lforms $(SYSLIB) $(XLIB)
+LIBS = -lforms $(SYSLIB) $(XLIB) -lXpm