diff options
author | leeym <leeym@FreeBSD.org> | 2004-10-25 10:27:26 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2004-10-25 10:27:26 +0800 |
commit | 4351a908d8386a35a8c2287ff1720e2fc0234a62 (patch) | |
tree | 5af90e263366fbd13adcf5660a39670c959a20b8 /sysutils | |
parent | ed88e634e897b74c7ea3459916b11597b3669daa (diff) | |
download | freebsd-ports-gnome-4351a908d8386a35a8c2287ff1720e2fc0234a62.tar.gz freebsd-ports-gnome-4351a908d8386a35a8c2287ff1720e2fc0234a62.tar.zst freebsd-ports-gnome-4351a908d8386a35a8c2287ff1720e2fc0234a62.zip |
add OSVERSION-depend post-patch target
Diffstat (limited to 'sysutils')
-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> |