summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-05-02 19:46:16 +0000
committertron <tron@pkgsrc.org>1999-05-02 19:46:16 +0000
commitb1e841e86a68956eb60b14dffada303315500366 (patch)
treebb6e7130b300c6814b1a6a8c464cb2ad77a7cd5a /devel/mit-pthreads/Makefile
parente768ea1b0dc82376d6fdf2684947ae0049375ae0 (diff)
downloadpkgsrc-b1e841e86a68956eb60b14dffada303315500366.tar.gz
Link shared library with "/usr/lib/c++rt0.o" on a.out systems to make sure
that pthread_init() gets called. Fixes PR pkg/7433 by Andreas Gustafsson.
Diffstat (limited to 'devel/mit-pthreads/Makefile')
-rw-r--r--devel/mit-pthreads/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/mit-pthreads/Makefile b/devel/mit-pthreads/Makefile
index 24895c6c146..1579d535ac1 100644
--- a/devel/mit-pthreads/Makefile
+++ b/devel/mit-pthreads/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 1999/05/01 18:35:22 tron Exp $
+# $NetBSD: Makefile,v 1.18 1999/05/02 19:46:16 tron Exp $
#
DISTNAME= pthreads-1_60_beta6
@@ -12,11 +12,11 @@ MAINTAINER= agc@netbsd.org
HOMEPAGE= http://www.mit.edu:8001/people/proven/pthreads.html
HAS_CONFIGURE= yes
-MAKE_ENV+= NOLINT=1 NOPROFILE=1
+MAKE_ENV+= NOLINT=1 NOPROFILE=1 OBJECT_FMT=${OBJECT_FMT}
CONFIGURE_ARGS+= --prefix=${PREFIX}/pthreads
pre-install:
- -mkdir ${PREFIX}/pthreads
+ ${MKDIR} ${PREFIX}/pthreads
post-install:
@${RM} -f ${PREFIX}/pthreads/lib/libpthread_pic.a