aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-10-25 02:27:26 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-10-25 02:27:26 +0000
commitde58ca34f02b75b4665137691976f86c8e36848e (patch)
tree35d885b43bf51e9159020d578a1c8fcfaa9d2d49 /sysutils
parent1125b59e740ab84882fff5fcdd0c0c2ae9628612 (diff)
downloadports-de58ca34f02b75b4665137691976f86c8e36848e.tar.gz
ports-de58ca34f02b75b4665137691976f86c8e36848e.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bbsmount/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/bbsmount/Makefile b/sysutils/bbsmount/Makefile
index dc97f61ccbc1..0ba5a5c40d2b 100644
--- a/sysutils/bbsmount/Makefile
+++ b/sysutils/bbsmount/Makefile
@@ -22,9 +22,13 @@ GNU_CONFIGURE= yes
USE_GCC= 2.95
PORTDOCS= README BUGS NEWS AUTHORS ChangeLog
-post-patch:
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
+.endif
post-install:
.if !defined(NOPORTDOCS)
@@ -39,4 +43,4 @@ post-install:
fi
@${INSTALL} ${WRKSRC}/data/bbsmount.bb ${PREFIX}/share/bbtools/bbsmount.bb-sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>