aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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