summaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries/Makefile
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2002-11-02 00:45:49 +0000
committerEric Anholt <anholt@FreeBSD.org>2002-11-02 00:45:49 +0000
commitbe87be8a527b2f3bdc32bcc3aac1be2837359104 (patch)
treecadd50434aaedf903be557e1a6d5019df846c316 /x11/XFree86-4-libraries/Makefile
parentI accidentally tested for /usr/bin/PERL in caps, which of course does not (diff)
Disable building of libXThrStub on current newer than 500043
Submitted by: dfr
Notes
Notes: svn path=/head/; revision=69281
Diffstat (limited to 'x11/XFree86-4-libraries/Makefile')
-rw-r--r--x11/XFree86-4-libraries/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/XFree86-4-libraries/Makefile b/x11/XFree86-4-libraries/Makefile
index 0c2a2766d585..db42069e364d 100644
--- a/x11/XFree86-4-libraries/Makefile
+++ b/x11/XFree86-4-libraries/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libraries
PORTVERSION= 4.2.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
${MASTER_SITE_LOCAL:S/$/:local/}
@@ -96,8 +96,8 @@ PLIST_SUB+= OSMESA:="@comment "
PLIST_SUB+= OSMESA:=""
.endif
-# sparc64 doesn't have a working libc_r yet.
-.if ${MACHINE_ARCH} == "sparc64"
+# sparc64 doesn't have a working libc_r yet, and -current doesn't need libXThrStub.
+.if ${MACHINE_ARCH} == "sparc64" || ${OSVERSION} >= 500043
PLIST_SUB+= XTHRSTUB:="@comment "
.else
PLIST_SUB+= XTHRSTUB:=""