freebsd-ports/devel/libpthread-stubs/Makefile
Martin Wilke 96963603bb This library provides weak aliases for pthread functions not provided in libc
or otherwise available by default.  Libraries like libxcb rely on pthread
stubs to use pthreads optionally, becoming thread-safe when linked to
libpthread, while avoiding any performance hit when running single-threaded.
libpthread-stubs supports this behavior even on platforms which do not supply
all the necessary pthread stubs.  On platforms which already supply all the
necessary pthread stubs, this package ships only the pkg-config file
pthread-stubs.pc, to allow libraries to unconditionally express a dependency
on pthread-stubs and still obtain correct behavior.

WWW: http://xcb.freedesktop.org/

PR:		ports/108491
Submitted by:	wahjava
2007-01-29 09:20:36 +00:00

24 lines
512 B
Makefile

# New ports collection makefile for: libpthread-stubs
# Date created: 24 January 2007
# Whom: wahjava
#
# $FreeBSD$
#
PORTNAME= libpthread-stubs
PORTVERSION= 0.1
CATEGORIES= devel
MASTER_SITES= http://xcb.freedesktop.org/dist/
MAINTAINER= wahjava@gmail.com
COMMENT= This library provides weak aliases for pthread functions
USE_GMAKE= yes
USE_BZIP2= yes
USE_GNOME= gnomehack pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>