summaryrefslogtreecommitdiff
path: root/games/xsok
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-08-13 16:35:16 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-08-13 16:35:16 +0000
commit21f649f14af47c6e5ac09a200aa6e7115e56deba (patch)
treeb0d9364b6d0f9f64d508b655835527e079514264 /games/xsok
parentRemove useless GNU make'ism. (diff)
This port needs xmkmf in order to build.
Depend on XFree86 version 3 if XFREE86_VERSION is not defined or != 4, or version 4 if the previous condition is not true (that is, in the case xmkmf isn't installed on the system). Found by: bento
Notes
Notes: svn path=/head/; revision=31619
Diffstat (limited to 'games/xsok')
-rw-r--r--games/xsok/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/xsok/Makefile b/games/xsok/Makefile
index e53e3f626e1a..20ad36edeada 100644
--- a/games/xsok/Makefile
+++ b/games/xsok/Makefile
@@ -15,6 +15,12 @@ EXTRACT_SUFX= -src.tar.gz
MAINTAINER= ports@FreeBSD.org
+.if defined(XFREE86_VERSION) && (${XFREE86_VERSION} == 4)
+BUILD_DEPENDS= ${X11BASE}/bin/xmkmf:${PORTSDIR}/x11/XFree86-4
+.else
+BUILD_DEPENDS= ${X11BASE}/bin/xmkmf:${PORTSDIR}/x11/XFree86
+.endif
+
USE_X_PREFIX= yes
USE_XPM= yes
MAN6= xsok.6x