From 18f7e2ef68d5f3c60ee6c1dc39e40d5d36ce6320 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Tue, 17 Feb 2004 08:57:49 +0000 Subject: FORBIDDEN on 5.x: does not respect PTHREAD_{CFLAGS,LIBS} --- net/linneighborhood/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'net/linneighborhood') 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 + +.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 +.include -- cgit v1.2.3