aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libtecla
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-04-22 05:24:50 +0800
committerclement <clement@FreeBSD.org>2004-04-22 05:24:50 +0800
commit2ae8a6d7e6beb60cec19cc66c57bdaa5a268a8f7 (patch)
treefbf5734329979e055393c3f0a45b7f6d99b03d6c /devel/libtecla
parent6964ae5c6cce965a8610cd67b8981017df2bb891 (diff)
downloadfreebsd-ports-gnome-2ae8a6d7e6beb60cec19cc66c57bdaa5a268a8f7.tar.gz
freebsd-ports-gnome-2ae8a6d7e6beb60cec19cc66c57bdaa5a268a8f7.tar.zst
freebsd-ports-gnome-2ae8a6d7e6beb60cec19cc66c57bdaa5a268a8f7.zip
- Fix plist
configure uses getpwuid_r() to detect if threads are supported or not. getpwuid_r is only in -CURRENT. Approved by: marcus (portmgr)
Diffstat (limited to 'devel/libtecla')
-rw-r--r--devel/libtecla/Makefile9
-rw-r--r--devel/libtecla/pkg-plist6
2 files changed, 11 insertions, 4 deletions
diff --git a/devel/libtecla/Makefile b/devel/libtecla/Makefile
index 560cb73dffdc..e93ef831a627 100644
--- a/devel/libtecla/Makefile
+++ b/devel/libtecla/Makefile
@@ -24,6 +24,13 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
PORTNAME="${PORTNAME}"
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500000
+PLIST_SUB+= THREADS="@comment "
+.else
+PLIST_SUB+= THREADS=""
+.endif
+
post-extract:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/genman3list.sh
@@ -34,4 +41,4 @@ post-clean:
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/libtecla/pkg-plist b/devel/libtecla/pkg-plist
index bf5484c6d1bc..6911c19b3ee6 100644
--- a/devel/libtecla/pkg-plist
+++ b/devel/libtecla/pkg-plist
@@ -2,7 +2,7 @@ bin/enhance
lib/libtecla.a
lib/libtecla.so
lib/libtecla.so.1
-lib/libtecla_r.a
-lib/libtecla_r.so
-lib/libtecla_r.so.1
+%%THREADS%%lib/libtecla_r.a
+%%THREADS%%lib/libtecla_r.so
+%%THREADS%%lib/libtecla_r.so.1
include/libtecla.h