summaryrefslogtreecommitdiff
path: root/devel/pth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pth/Makefile')
-rw-r--r--devel/pth/Makefile54
1 files changed, 0 insertions, 54 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
deleted file mode 100644
index aa3277d4c30d..000000000000
--- a/devel/pth/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-PORTNAME= pth
-PORTVERSION= 2.0.7
-PORTREVISION= 2
-CATEGORIES= devel
-MASTER_SITES= GNU
-PKGNAMESUFFIX?= # empty
-
-MAINTAINER= vd@FreeBSD.org
-COMMENT= GNU Portable Threads
-WWW= https://www.gnu.org/software/pth/
-
-DEPRECATED= Abandoned, last release in 2006
-EXPIRATION_DATE=2025-07-31
-
-MAKE_JOBS_UNSAFE= yes
-
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-CONFIGURE_ARGS= --enable-optimize \
- --enable-batch \
- --includedir="${PREFIX}/include/pth" \
- --libdir="${PREFIX}/lib/pth"
-USES= libtool
-USE_LDCONFIG= ${PREFIX}/lib/pth
-
-OPTIONS_DEFINE= OPTIMIZED_CFLAGS
-OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
-
-CONFLICTS?= pth-hard-2.*
-
-.include <bsd.port.options.mk>
-
-.if ${PKGNAMESUFFIX} == "-hard"
-CONFIGURE_ARGS+= --enable-syscall-hard --disable-syscall-soft
-PLIST_SUB+= PTHREAD="@comment "
-.else
-CONFIGURE_ARGS+= --enable-syscall-soft --enable-pthread
-PLIST_SUB+= PTHREAD=""
-.endif
-
-post-patch:
-.if ! ${PORT_OPTIONS:MOPTIMIZED_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."
-
-test: build
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
-
-.include <bsd.port.mk>