From 225aa8f9397f92bf00b7bad150df01042c41d1aa Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 13 Aug 2000 16:35:16 +0000 Subject: 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 --- games/xsok/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'games') 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 -- cgit