aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-08-14 00:35:16 +0800
committeralex <alex@FreeBSD.org>2000-08-14 00:35:16 +0800
commit225aa8f9397f92bf00b7bad150df01042c41d1aa (patch)
tree3f8c352fb61b58f131d2968c3982e39eb0a41e83 /games
parentd9c0af190b07ec4dca8d80301719f8317d9f4a79 (diff)
downloadfreebsd-ports-gnome-225aa8f9397f92bf00b7bad150df01042c41d1aa.tar.gz
freebsd-ports-gnome-225aa8f9397f92bf00b7bad150df01042c41d1aa.tar.zst
freebsd-ports-gnome-225aa8f9397f92bf00b7bad150df01042c41d1aa.zip
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
Diffstat (limited to 'games')
-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