summaryrefslogtreecommitdiff
path: root/devel/linuxthreads
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-01-29 11:13:43 +0000
committerJason Evans <jasone@FreeBSD.org>2000-01-29 11:13:43 +0000
commit1f730767b75d6cc7f7a6e990df5bcc41a1e1ea77 (patch)
treeb6683263d36e850ab7a6751f250281f0d84109fe /devel/linuxthreads
parentAdd gnomechess. (diff)
Mark linuxthreads as requiring at least FreeBSD 4.0 and only working on
i386.
Diffstat (limited to 'devel/linuxthreads')
-rw-r--r--devel/linuxthreads/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/linuxthreads/Makefile b/devel/linuxthreads/Makefile
index 9842d616ffd5..d7a18df5289b 100644
--- a/devel/linuxthreads/Makefile
+++ b/devel/linuxthreads/Makefile
@@ -15,6 +15,15 @@ ONLY_FOR_ARCHS= i386
MAINTAINER= jasone@freebsd.org
+.include <bsd.port.pre.mk>
+
+# This port only works on i386 right now.
+ONLY_FOR_ARCHS=i386
+
+.if ${OSVERSION} < 400000
+BROKEN="Requires FreeBSD 4.0 or newer"
+.endif
+
threads_files := README.FreeBSD clone.S clone.h freebsd-compat.h getgr_r.c \
gethostby_r.c getnetby_r.c getprotoby_r.c getpw_r.c getservby_r.c \
lclone.c libc_calls.c libc_thread.c sched.c uthread_file.c
@@ -51,4 +60,4 @@ post-install:
# @sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>