summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-08-13 16:06:42 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-08-13 16:06:42 +0000
commitc652035d7610b730dbb22df99045472f682e8694 (patch)
tree98d23df4d7be213134081e393dd2f5ad2d31ddc8 /x11-wm
parentLyX needs gmake. (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).
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/afterstep/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-wm/afterstep/Makefile b/x11-wm/afterstep/Makefile
index ae307cac9d99..37cdfe651786 100644
--- a/x11-wm/afterstep/Makefile
+++ b/x11-wm/afterstep/Makefile
@@ -13,6 +13,12 @@ MASTER_SITES= ${MASTER_SITE_AFTERSTEP} \
MASTER_SITE_SUBDIR= stable/archives
DISTNAME= AfterStep-${PORTVERSION}
+.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
+
MAINTAINER= jfitz@FreeBSD.org
NO_LATEST_LINK= yes