2001-03-26 18:54:42 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2001/03/26 23:54:42 brad Exp $
|
2000-07-28 06:39:00 -04:00
|
|
|
|
2001-03-26 18:54:42 -05:00
|
|
|
COMMENT= "GNU portable threads"
|
|
|
|
|
|
|
|
DISTNAME= pth-1.4.0
|
2000-07-28 06:39:00 -04:00
|
|
|
CATEGORIES= devel
|
2001-03-26 18:54:42 -05:00
|
|
|
NEED_VERSION= 1.363
|
2000-07-28 06:39:00 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= pth
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/pth/
|
|
|
|
|
2000-09-24 03:03:59 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
2000-07-28 06:39:00 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2001-03-26 18:54:42 -05:00
|
|
|
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."
|
2000-07-28 06:39:00 -04:00
|
|
|
|
|
|
|
test: build
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} test
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|