diff options
author | tv <tv@pkgsrc.org> | 1999-04-15 13:56:01 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1999-04-15 13:56:01 +0000 |
commit | 6676c33d1b1c96fb794db51f70817cf9b1d39053 (patch) | |
tree | 7619c960cf3f0065e07687769916bf631f8d2010 /devel/mit-pthreads/Makefile | |
parent | e223067f30177cfc924d8a7273af0df39f268b85 (diff) | |
download | pkgsrc-6676c33d1b1c96fb794db51f70817cf9b1d39053.tar.gz |
Make compile on 1.4, but mark RESTRICTED and IS_INTERACTIVE so that it is
not built in a batch on 1.4 (it may compile, ut it doesn't run).
Also make library building more uniform regardless of MKxxxx or
NOxxxx settings in mk.conf.
Diffstat (limited to 'devel/mit-pthreads/Makefile')
-rw-r--r-- | devel/mit-pthreads/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/devel/mit-pthreads/Makefile b/devel/mit-pthreads/Makefile index 3b9d3d38a11..12633c8eca4 100644 --- a/devel/mit-pthreads/Makefile +++ b/devel/mit-pthreads/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 1999/02/01 01:39:27 hubertf Exp $ +# $NetBSD: Makefile,v 1.14 1999/04/15 13:56:01 tv Exp $ # DISTNAME= pthreads-1_60_beta6 @@ -6,18 +6,29 @@ PKGNAME= mit-pthreads-1.60b6 CATEGORIES= devel MASTER_SITES= ftp://sipb.mit.edu/pub/pthreads/ ONLY_FOR_ARCHS= alpha arm32 i386 sparc +ONLY_FOR_OPSYS= NetBSD MAINTAINER= agc@netbsd.org HOMEPAGE= http://www.mit.edu:8001/people/proven/pthreads.html +# don't build unless the user explicitly builds it +RESTRICTED= "broken on later 1.3 development versions and 1.4" +IS_INTERACTIVE= yes + HAS_CONFIGURE= yes -MAKE_ENV+= NOLINT=1 +MAKE_ENV+= NOLINT=1 NOPROFILE=1 CONFIGURE_ARGS+= --prefix=${PREFIX}/pthreads +post-patch: + @cd ${WRKSRC}/machdep && for i in *-netbsd-1.3.?; do \ + ${LN} -f $$i `echo $$i | sed s,1\.3,1.4,`; \ + done + pre-install: -mkdir ${PREFIX}/pthreads post-install: + @${RM} -f ${LOCALBASE}/pthreads/libpthread_pic.a find ${PREFIX}/pthreads/include -name '*.orig'|xargs rm find ${PREFIX}/pthreads/include -type f -print|xargs chmod 644 find ${PREFIX}/pthreads/include -type d -print|xargs chmod 755 |