From 2f7c217728e53654f7dad495ae5246ff644b5c91 Mon Sep 17 00:00:00 2001 From: tijl Date: Mon, 22 Sep 2014 14:48:01 +0000 Subject: Port uses sqrt(3) so link with libm Reported by: sbruno --- net/echoping/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/net/echoping/Makefile b/net/echoping/Makefile index f4c2ed8..d7d0529 100644 --- a/net/echoping/Makefile +++ b/net/echoping/Makefile @@ -43,10 +43,7 @@ PLIST_SUB+= WITH_PGSQL="" PLIST_SUB+= WITH_PGSQL="@comment " .endif -.include +post-patch: + @${REINPLACE_CMD} '/^echoping_LDADD =/s/$$/ -lm/' ${WRKSRC}/Makefile.in -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" -BROKEN= Does not link on ia64 or powerpc -.endif - -.include +.include -- cgit v1.1