summaryrefslogtreecommitdiff
path: root/x11/XFree86-4
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2001-02-08 16:38:51 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2001-02-08 16:38:51 +0000
commit8b3511a23fa7ffdb5727252e5c7819e1571bc917 (patch)
tree2e24915395cb2eeb17caedfd74cfe329c5f0c85a /x11/XFree86-4
parentUpgrade to lastest version (diff)
Add a pre-fetch target to check CFLAGS. XFree won't compile with -O3 or above
with xthreads. Bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=38114
Diffstat (limited to 'x11/XFree86-4')
-rw-r--r--x11/XFree86-4/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/XFree86-4/Makefile b/x11/XFree86-4/Makefile
index f31301b63a42..21ab0825bf43 100644
--- a/x11/XFree86-4/Makefile
+++ b/x11/XFree86-4/Makefile
@@ -7,7 +7,7 @@
PORTNAME= XFree86
PORTVERSION= 4.0.2
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
@@ -51,6 +51,12 @@ SCRIPTS_ENV+= MACHINE=alpha
PLIST= ${PKGDIR}/pkg-plist.alpha
.endif
+pre-fetch:
+ @if ${ECHO} "$(CFLAGS)" |${GREP} -q O[3456789]; then \
+ ${ECHO} "XFree86-4 with thread support does not build with optimization"; \
+ ${ECHO} "flags different from O or -O2"; \
+ ${FALSE}; fi
+
.if defined(XDM_DES) && (${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO)
pre-fetch:
@${ECHO}