summaryrefslogtreecommitdiffstats
path: root/games/xsheep
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>2000-03-10 23:46:25 +0000
committerbillf <billf@FreeBSD.org>2000-03-10 23:46:25 +0000
commite51f2b7db3f7f4e527661aff7a449f08196a3530 (patch)
tree5f7d387bf1b5bee2e152730373b39ccb8053e4da /games/xsheep
parentd25c4d9312c479789ebfd6fa304a59f032ecc538 (diff)
downloadFreeBSD-ports-e51f2b7db3f7f4e527661aff7a449f08196a3530.zip
FreeBSD-ports-e51f2b7db3f7f4e527661aff7a449f08196a3530.tar.gz
LIB_DEPEND on xpm
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> Adam Kranzel <ace@teru.dyndns.org> bento Use X11BASE the right way. Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'games/xsheep')
-rw-r--r--games/xsheep/Makefile2
-rw-r--r--games/xsheep/files/patch-aa15
2 files changed, 14 insertions, 3 deletions
diff --git a/games/xsheep/Makefile b/games/xsheep/Makefile
index 3d168fe..1cba586 100644
--- a/games/xsheep/Makefile
+++ b/games/xsheep/Makefile
@@ -12,6 +12,8 @@ MASTER_SITES= http://www.csn.ul.ie/~caolan/publink/xsheep/
MAINTAINER= billf@FreeBSD.org
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+
USE_X_PREFIX= YES
WRKSRC= ${WRKDIR}/xsheep
diff --git a/games/xsheep/files/patch-aa b/games/xsheep/files/patch-aa
index b3f77cc..24f8b86e 100644
--- a/games/xsheep/files/patch-aa
+++ b/games/xsheep/files/patch-aa
@@ -1,10 +1,19 @@
---- Makefile.old Mon Mar 6 22:12:55 2000
-+++ Makefile Mon Mar 6 22:13:09 2000
+--- Makefile.orig Fri Aug 13 11:19:00 1999
++++ Makefile Fri Mar 10 18:43:39 2000
@@ -1,6 +1,6 @@
LIBS = -lm
-CFLAGS = -I/usr/X11R6/incude -g
-+CFLAGS+= -I/usr/X11R6/include
++CFLAGS+= -I${X11BASE}/include
MYOBJECTS = \
xsheep.o
+@@ -10,7 +10,7 @@
+ all: $(TARGETS)
+
+ xsheep: $(MYOBJECTS)
+- $(CC) -o xsheep $(MYOBJECTS) -L/usr/X11R6/lib -lXpm -lXext -lX11
++ $(CC) -o xsheep $(MYOBJECTS) -L${X11BASE}/lib -lXpm -lXext -lX11
+
+ %.o: %.c
+ $(CC) $(CFLAGS) -c $*.c
OpenPOWER on IntegriCloud