diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/libbt/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-p2p/libbt/Makefile b/net-p2p/libbt/Makefile index 535b1c38f3cc..2fd16cdab973 100644 --- a/net-p2p/libbt/Makefile +++ b/net-p2p/libbt/Makefile @@ -23,6 +23,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" PORTDOCS= protocol-ext.txt protocol.txt +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700019 +BROKEN= Does not compile on FreeBSD >= 7.0 +.endif + post-patch: @${REINPLACE_CMD} -e 's|depend||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|\(CFLAGS:=\)|\1\@CFLAGS\@ \@CPPFLAGS\@ |' ${WRKSRC}/src/Makefile.in @@ -45,4 +51,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |