aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2000-01-29 19:13:43 +0800
committerjasone <jasone@FreeBSD.org>2000-01-29 19:13:43 +0800
commit6c8fc874060160c8c55008194fdcc33778532afb (patch)
treefd732b501e8a590218206d3338a1592b612fb80e
parent207ac6c3d109c0fefdd7fc9f5f59053cec276b28 (diff)
downloadfreebsd-ports-gnome-6c8fc874060160c8c55008194fdcc33778532afb.tar.gz
freebsd-ports-gnome-6c8fc874060160c8c55008194fdcc33778532afb.tar.zst
freebsd-ports-gnome-6c8fc874060160c8c55008194fdcc33778532afb.zip
Mark linuxthreads as requiring at least FreeBSD 4.0 and only working on
i386.
-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>