aboutsummaryrefslogtreecommitdiff
path: root/devel/rhtvision
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-09-26 03:28:55 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-09-26 03:28:55 +0000
commit43211e8ede9dc14f866be5c1804e6679cdc280b4 (patch)
tree7280244620736cefcae355885ea7ed8608c6a3c9 /devel/rhtvision
parent8bf4bd06559a30d5ef1aca6b72b9590761536f0d (diff)
Notes
Diffstat (limited to 'devel/rhtvision')
-rw-r--r--devel/rhtvision/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/rhtvision/Makefile b/devel/rhtvision/Makefile
index 3e879f5ad433..b5c359730445 100644
--- a/devel/rhtvision/Makefile
+++ b/devel/rhtvision/Makefile
@@ -24,6 +24,12 @@ INSTALLS_SHLIB= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if !defined(WITHOUT_X11)
USE_XLIB= yes
PLIST_SUB+= X11_ONLY=""
@@ -31,12 +37,6 @@ CFLAGS+= -I${X11BASE}/include
.else
PLIST_SUB+= X11_ONLY="@comment "
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
pre-configure:
${ECHO} "HAVE_X11 => no" > ${WRKSRC}/configure.cache
.endif