aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-02-17 16:57:49 +0800
committerKris Kennaway <kris@FreeBSD.org>2004-02-17 16:57:49 +0800
commit18f7e2ef68d5f3c60ee6c1dc39e40d5d36ce6320 (patch)
tree9523a86ecbbd3c7547e76d83d67d146a0c56e5e0 /sysutils
parentf6d9f0dd86007e2f73a17ce2bd0a70e17ef57100 (diff)
downloadfreebsd-ports-gnome-18f7e2ef68d5f3c60ee6c1dc39e40d5d36ce6320.tar.gz
freebsd-ports-gnome-18f7e2ef68d5f3c60ee6c1dc39e40d5d36ce6320.tar.zst
freebsd-ports-gnome-18f7e2ef68d5f3c60ee6c1dc39e40d5d36ce6320.zip
FORBIDDEN on 5.x: does not respect PTHREAD_{CFLAGS,LIBS}
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/linneighborhood/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/linneighborhood/Makefile b/sysutils/linneighborhood/Makefile
index eae30b9a6956..8a410a93a898 100644
--- a/sysutils/linneighborhood/Makefile
+++ b/sysutils/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>