aboutsummaryrefslogtreecommitdiff
path: root/devel/libtecla
diff options
context:
space:
mode:
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