aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-04-21 21:24:50 +0000
committerClement Laforet <clement@FreeBSD.org>2004-04-21 21:24:50 +0000
commit04380ca07d94b9c8b779840e3495604d9ee588be (patch)
tree37e71061a1b617a3ed427bc8d93e019bf9a1be85
parent724366c041353c1fe5a30a2d75d972dbd2af662c (diff)
downloadports-04380ca07d94b9c8b779840e3495604d9ee588be.tar.gz
ports-04380ca07d94b9c8b779840e3495604d9ee588be.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)
Notes
Notes: svn path=/head/; revision=107783
-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