openbsd-ports/devel/pth/Makefile
brad a9434885b2 patches to add thread-safe usleep() soft syscall wrapper.
--
From: vedge <vedge2@vedge.com.ar>
2001-05-24 00:07:13 +00:00

36 lines
870 B
Makefile

# $OpenBSD: Makefile,v 1.6 2001/05/24 00:07:13 brad Exp $
COMMENT= "GNU portable threads"
DISTNAME= pth-1.4.0
PKGNAME= ${DISTNAME}p1
CATEGORIES= devel
NEED_VERSION= 1.402
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= pth
HOMEPAGE= http://www.gnu.org/software/pth/
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --enable-pthread \
--enable-syscall-soft --enable-optimize \
--enable-batch \
--includedir="${PREFIX}/include/pth" \
--libdir="${PREFIX}/lib/pth"
post-build:
@${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} test
.include <bsd.port.mk>