# New ports collection makefile for: GNU Pth # Date Created: 23 May 1999 # Whom: Ralf S. Engelschall # # $FreeBSD$ # PORTNAME= pth PORTVERSION= 2.0.6 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= pth MAINTAINER= vd@datamax.bg COMMENT= GNU Portable Threads INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/lib/pth GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --enable-optimize \ --enable-batch \ --includedir="${PREFIX}/include/pth" \ --libdir="${PREFIX}/lib/pth" USE_REINPLACE= yes MAN1= pth-config.1 MAN3= pth.3 OPTIONS= OPTIMIZED_CFLAGS "Build with optimized CFLAGS" on \ SYSCALL_HARD "Build with hard syscalls" off .include .if defined(WITH_SYSCALL_HARD) CONFIGURE_ARGS+= --enable-syscall-hard --disable-syscall-soft PLIST_SUB= PTHREAD="@comment " .else CONFIGURE_ARGS+= --enable-syscall-soft --enable-pthread PLIST_SUB= PTHREAD="" MAN1+= pthread-config.1 MAN3+= pthread.3 .endif post-patch: .if defined(WITHOUT_OPTIMIZED_CFLAGS) @${REINPLACE_CMD} -e \ 's|-funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math||' \ ${WRKSRC}/configure .endif 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 test: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test) .include a-next' selected='selected'>mesa-next FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Convert fc-cache(1) calls in pkg-plist to use @fc keywordjbeich2015-01-312-5/+2
* Remove code unused with stagingantoine2014-11-231-3/+0
* Cleanup plistantoine2014-11-121-4/+0
* Convert j* to USES=zipbapt2014-03-101-1/+1
* Fix properties on pkg-plistbapt2014-01-221-1/+0
* - Add STAGEDIR support.hrs2013-10-161-19/+17
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* - Fix a warning "Having multiple values in <test> isn't supported and mayhrs2013-09-052-6/+15
* - Trim old-style header.hrs2013-05-012-13/+15