diff options
author | tegge <tegge@FreeBSD.org> | 2002-03-10 09:24:23 +0800 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 2002-03-10 09:24:23 +0800 |
commit | f01885a88652b823b24a425d2f2f5b54eff20673 (patch) | |
tree | 0b47b3707852988b0e1ef362867ce986a16d95f8 /devel/linuxthreads/Makefile | |
parent | 5d263512893c9835d66970be7aec9119fa910370 (diff) | |
download | freebsd-ports-graphics-f01885a88652b823b24a425d2f2f5b54eff20673.tar.gz freebsd-ports-graphics-f01885a88652b823b24a425d2f2f5b54eff20673.tar.zst freebsd-ports-graphics-f01885a88652b823b24a425d2f2f5b54eff20673.zip |
Document that FreeBSD source code is needed to build linuxthreads port.
Add sanity check for presence of needed FreeBSD source code.
Unbreak compilation on 5.0-CURRENT, DEFS.h is no longer available.
Bump port revision.
Diffstat (limited to 'devel/linuxthreads/Makefile')
-rw-r--r-- | devel/linuxthreads/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/devel/linuxthreads/Makefile b/devel/linuxthreads/Makefile index 9c341c54d04..2f7afeaf5b0 100644 --- a/devel/linuxthreads/Makefile +++ b/devel/linuxthreads/Makefile @@ -7,7 +7,7 @@ PORTNAME= linuxthreads PORTVERSION= 2.2.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= glibc @@ -33,13 +33,21 @@ WRKSRC= ${WRKDIR}/${PKGNAME} SRC_BASE= /usr/src LIBSRC_BASE= ${SRC_BASE}/lib -.if !defined(WITH_CONDWAIT_PATCH) pre-fetch: +.if !defined(WITH_CONDWAIT_PATCH) @${ECHO} @${ECHO} You can use an experimental patch to reduce the number of @${ECHO} condition variable triggered context switches by defining @${ECHO} WITH_CONDWAIT_PATCH + @${ECHO} .endif + @if test -f /usr/src/gnu/lib/libgcc/Makefile; then \ + : ; \ + else \ + ${ECHO_MSG} ">>The linuxthreads port needs source code for libgcc"; \ + ${ECHO_MSG} ">>Please install FreeBSD source code in /usr/src"; \ + false; \ + fi post-extract: @mv ${WRKDIR}/linuxthreads ${WRKSRC} |