diff options
author | jmz <jmz@FreeBSD.org> | 2000-11-09 13:42:27 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2000-11-09 13:42:27 +0800 |
commit | dec158699c34afa3a589f40121b883181b4e64db (patch) | |
tree | 09b7a02ef2ee30ecdb35c930d4cd5f10bd2c7d27 /x11/XFree86-4 | |
parent | a3e2037eccfd812e7e0716e59862c4e361568b90 (diff) | |
download | freebsd-ports-gnome-dec158699c34afa3a589f40121b883181b4e64db.tar.gz freebsd-ports-gnome-dec158699c34afa3a589f40121b883181b4e64db.tar.zst freebsd-ports-gnome-dec158699c34afa3a589f40121b883181b4e64db.zip |
Fix my previous commit. One can't use OSVERSION before including bsd.port.pre.mk
Diffstat (limited to 'x11/XFree86-4')
-rw-r--r-- | x11/XFree86-4/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/XFree86-4/Makefile b/x11/XFree86-4/Makefile index 03f1883dde10..8aa8bf8e70b3 100644 --- a/x11/XFree86-4/Makefile +++ b/x11/XFree86-4/Makefile @@ -48,10 +48,6 @@ SCRIPTS_ENV+= MACHINE=alpha PLIST= ${PKGDIR}/pkg-plist.alpha .endif -.if ${OSVERSION} < 410000 -BROKEN= "can't be compiled on this system (missing headers)" -.endif - .if defined(XDM_DES) && (${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO) pre-fetch: @${ECHO} @@ -76,6 +72,10 @@ pre-fetch: .include <bsd.port.pre.mk> +.if ${OSVERSION} < 410000 +BROKEN= "can't be compiled on this system (missing headers)" +.endif + .if ${OSVERSION} > 500012 post-patch: @if [ ! -e ${WRKSRC}/include/Xarch.h.orig ]; then\ |