aboutsummaryrefslogtreecommitdiff
path: root/net/linneighborhood
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-02-17 08:57:49 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-02-17 08:57:49 +0000
commit18f7e2ef68d5f3c60ee6c1dc39e40d5d36ce6320 (patch)
tree9523a86ecbbd3c7547e76d83d67d146a0c56e5e0 /net/linneighborhood
parentf6d9f0dd86007e2f73a17ce2bd0a70e17ef57100 (diff)
downloadports-18f7e2ef68d5f3c60ee6c1dc39e40d5d36ce6320.tar.gz
ports-18f7e2ef68d5f3c60ee6c1dc39e40d5d36ce6320.zip
Notes
Diffstat (limited to 'net/linneighborhood')
-rw-r--r--net/linneighborhood/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/linneighborhood/Makefile b/net/linneighborhood/Makefile
index eae30b9a6956..8a410a93a898 100644
--- a/net/linneighborhood/Makefile
+++ b/net/linneighborhood/Makefile
@@ -24,6 +24,12 @@ USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502102
+FORBIDDEN= "Does not respect PTHREAD_{CFLAGS,LIBS}"
+.endif
+
post-patch:
${CP} ${FILESDIR}/mntent* ${WRKSRC}/src
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure
@@ -31,4 +37,4 @@ post-patch:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>