diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2001-02-08 16:38:51 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2001-02-08 16:38:51 +0000 |
commit | 8b3511a23fa7ffdb5727252e5c7819e1571bc917 (patch) | |
tree | 2e24915395cb2eeb17caedfd74cfe329c5f0c85a /x11 | |
parent | Upgrade 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')
-rw-r--r-- | x11/XFree86-4/Makefile | 8 |
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} |