pthreads-win32 is a pthreads implementation for Microsoft Windows. It

can be compiled with MSVC, Borland and GCC. This port compiles it using
MinGW32.

WWW: http://sourceware.org/pthreads-win32/

PR:		ports/96456
Submitted by:	Ed Schouten <ed@fxq.nl>
This commit is contained in:
Pav Lucistnik 2006-05-07 15:12:51 +00:00
parent 006f48da9d
commit 62b25844a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161612
5 changed files with 51 additions and 0 deletions

View file

@ -615,6 +615,7 @@
SUBDIR += mingw32-binutils
SUBDIR += mingw32-gcc
SUBDIR += mingw32-pdcurses
SUBDIR += mingw32-pthreads
SUBDIR += mips-rtems-binutils
SUBDIR += mips-rtems-g77
SUBDIR += mips-rtems-gcc

View file

@ -0,0 +1,36 @@
# New ports collection makefile for: mingw32-pthreads
# Date created: 28 April 2006
# Whom: Ed Schouten <ed@fxq.nl>
#
# $FreeBSD$
#
PORTNAME= pthreads
PORTVERSION= 2.7.0
CATEGORIES= devel
MASTER_SITES= ftp://sources.redhat.com/pub/${PORTNAME}-win32/
PKGNAMEPREFIX= mingw32-
DISTNAME= ${PORTNAME}-w32-${PORTVERSION:S/./-/g}-release
MAINTAINER= ed@fxq.nl
COMMENT= POSIX threads library for Windows compiled with MinGW32
BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt
USE_GMAKE= yes
do-build:
@${GMAKE} -C ${WRKSRC} MAKE=${GMAKE} CROSS=${PKGNAMEPREFIX} GC
do-install:
.for f in pthread.h sched.h semaphore.h
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/mingw32/include/$f
.endfor
.for f in libpthreadGC2.a pthreadGC2.dll
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/mingw32/lib/$f
.endfor
${LN} -sf libpthreadGC2.a ${PREFIX}/mingw32/lib/libpthread.a
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (pthreads-w32-2-7-0-release.tar.gz) = e2a5cd5672bfd987abda6a4195925eb9
SHA256 (pthreads-w32-2-7-0-release.tar.gz) = 11b736a1e33e67fddc5efba5dd412028914a63f887d0e175e6927eeeb1292b9d
SIZE (pthreads-w32-2-7-0-release.tar.gz) = 375000

View file

@ -0,0 +1,5 @@
pthreads-win32 is a pthreads implementation for Microsoft Windows. It
can be compiled with MSVC, Borland and GCC. This port compiles it using
MinGW32.
WWW: http://sourceware.org/pthreads-win32/

View file

@ -0,0 +1,6 @@
mingw32/include/pthread.h
mingw32/include/sched.h
mingw32/include/semaphore.h
mingw32/lib/libpthread.a
mingw32/lib/libpthreadGC2.a
mingw32/lib/pthreadGC2.dll