summaryrefslogtreecommitdiff
path: root/devel/unproven-pthreads
diff options
context:
space:
mode:
authoragc <agc>2002-08-29 14:39:40 +0000
committeragc <agc>2002-08-29 14:39:40 +0000
commitf37e8caf77a1662b1978fbe74228f553a5c916cb (patch)
treee678997d04e46a6d27e132cf3ec8b55cc4045c06 /devel/unproven-pthreads
parentf09e1fef056ecb18594afbe756f4fe004565ccff (diff)
downloadpkgsrc-f37e8caf77a1662b1978fbe74228f553a5c916cb.tar.gz
Fix the "MAKEOBJDIRPREFIX being set causes problems" in a different way.
Explicitly add "USETOOLS=no" to the MAKE_ENV. Overload the SETENV definition to unset MAKEOBJDIRPREFIX properly.
Diffstat (limited to 'devel/unproven-pthreads')
-rw-r--r--devel/unproven-pthreads/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/devel/unproven-pthreads/Makefile b/devel/unproven-pthreads/Makefile
index 57c293cee55..54d7fb3e0aa 100644
--- a/devel/unproven-pthreads/Makefile
+++ b/devel/unproven-pthreads/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2002/08/25 19:22:41 jlam Exp $
+# $NetBSD: Makefile,v 1.34 2002/08/29 14:39:40 agc Exp $
#
DISTNAME= unproven-pthreads-0.17
@@ -15,24 +15,17 @@ CONFLICTS+= mit-pthreads-[0-9]*
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/pthreads
-MAKE_ENV+= NOLINT=1 NOPROFILE=1 OBJECT_FMT=${OBJECT_FMT}
+MAKE_ENV+= NOLINT=1 NOPROFILE=1 OBJECT_FMT=${OBJECT_FMT} USETOOLS=no
CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config/config.guess
CONFIG_SUB_OVERRIDE= ${WRKSRC}/config/config.sub
-# build makes some assumptions about OBJDIR, avoid confusing it
-do-build:
- unset MAKEOBJDIRPREFIX; cd ${WRKSRC} && ${MAKE}
-
post-extract:
@${RM} ${WRKSRC}/include/pthread/unistd.h
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/pthreads
-do-install:
- unset MAKEOBJDIRPREFIX; cd ${WRKSRC} && ${MAKE} install
-
post-install:
@${RM} -f ${PREFIX}/pthreads/lib/libpthread_pic.a
@${FIND} ${PREFIX}/pthreads/include -name '*.orig' | ${XARGS} ${RM}
@@ -41,3 +34,5 @@ post-install:
@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/pthreads/include
.include "../../mk/bsd.pkg.mk"
+
+SETENV:= unset MAKEOBJDIRPREFIX; ${SETENV}