1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/devel/pth/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: pth
# Date Created: 23 May 1999
# Whom: Ralf S. Engelschall
#
1999-08-29 11:11:15 +00:00
# $FreeBSD$
#
2000-04-11 21:30:15 +00:00
PORTNAME= pth
PORTVERSION= 2.0.0
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= pth
MAINTAINER= ports@FreeBSD.org
2003-02-20 17:07:10 +00:00
COMMENT= GNU Portable Threads
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/pth
2001-07-30 16:38:49 +00:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-pthread \
--enable-syscall-soft \
--enable-optimize \
--enable-batch \
--includedir="${PREFIX}/include/pth" \
--libdir="${PREFIX}/lib/pth"
USE_REINPLACE= yes
MAN1= pth-config.1 pthread-config.1
MAN3= pth.3 pthread.3
post-patch:
.if !defined(WITH_OPTIMIZED_CFLAGS) || defined(WITHOUT_OPTIMIZED_CFLAGS)
${REINPLACE_CMD} -e \
"s,-funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math,${CFLAGS}," \
2004-04-10 17:26:55 +00:00
${WRKSRC}/configure
.endif
1999-06-28 13:29:40 +00:00
post-build:
@${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
post-install:
@${INSTALL_SCRIPT} ${FILESDIR}/pth.sh ${PREFIX}/etc/rc.d/000.pth.sh
1999-06-28 13:29:40 +00:00
test:
@cd ${WRKSRC} && ${MAKE} test
.include <bsd.port.mk>