diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-10-25 02:27:26 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-10-25 02:27:26 +0000 |
commit | de58ca34f02b75b4665137691976f86c8e36848e (patch) | |
tree | 35d885b43bf51e9159020d578a1c8fcfaa9d2d49 /sysutils/bbsmount | |
parent | 1125b59e740ab84882fff5fcdd0c0c2ae9628612 (diff) | |
download | ports-de58ca34f02b75b4665137691976f86c8e36848e.tar.gz ports-de58ca34f02b75b4665137691976f86c8e36848e.zip |
Notes
Diffstat (limited to 'sysutils/bbsmount')
-rw-r--r-- | sysutils/bbsmount/Makefile | 8 |
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> |