aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormikeh <mikeh@FreeBSD.org>2002-07-01 14:42:34 +0800
committermikeh <mikeh@FreeBSD.org>2002-07-01 14:42:34 +0800
commitda4b47fcdf3c61e8a62164dbdf2aaf7e7f63d435 (patch)
tree701420974f4fe041778d5a5a802d276b955ef0fb /games
parentb9f9dbf0630c9f46c8491110f5d07f83b6ad8604 (diff)
downloadfreebsd-ports-gnome-da4b47fcdf3c61e8a62164dbdf2aaf7e7f63d435.tar.gz
freebsd-ports-gnome-da4b47fcdf3c61e8a62164dbdf2aaf7e7f63d435.tar.zst
freebsd-ports-gnome-da4b47fcdf3c61e8a62164dbdf2aaf7e7f63d435.zip
Prepare for xforms update.
Diffstat (limited to 'games')
-rw-r--r--games/xothello/Makefile2
-rw-r--r--games/xothello/files/patch-aa16
2 files changed, 12 insertions, 6 deletions
diff --git a/games/xothello/Makefile b/games/xothello/Makefile
index 237fce3682a1..822ea62450fd 100644
--- a/games/xothello/Makefile
+++ b/games/xothello/Makefile
@@ -14,7 +14,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= xforms.0:${PORTSDIR}/x11-toolkits/xforms
+LIB_DEPENDS= forms.0:${PORTSDIR}/x11-toolkits/xforms
NO_CDROM= Possible trademark infringement
diff --git a/games/xothello/files/patch-aa b/games/xothello/files/patch-aa
index 5f9456721d8c..0c6e530ce0ec 100644
--- a/games/xothello/files/patch-aa
+++ b/games/xothello/files/patch-aa
@@ -1,6 +1,6 @@
--- Makefile.orig Sat Feb 15 13:00:15 1997
-+++ Makefile Thu Apr 23 22:03:27 1998
-@@ -8,14 +8,14 @@
++++ Makefile Mon Jul 1 02:35:58 2002
+@@ -8,14 +8,17 @@
# 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
@@ -21,12 +24,15 @@
BINDIR = $(INSTDIR)/bin
INSTALL = install
-@@ -25,7 +25,7 @@
+@@ -23,9 +26,9 @@
+ # Flags the compiler will see
+ #=================================================================
- CFLAGS = $(CCFLAG) $(XINCLUDE)
+-CFLAGS = $(CCFLAG) $(XINCLUDE)
++CFLAGS = $(CCFLAG) $(XINCLUDE) $(XFORMSINC)
LDFLAGS = $(LDFLAG)
-LIBS = -lforms $(SYSLIB) $(XLIB)
-+LIBS = -lxforms $(SYSLIB) $(XLIB)
++LIBS = -lforms -lXpm $(SYSLIB) $(XLIB)
#=================================================================