summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-22 14:48:01 +0000
committertijl <tijl@FreeBSD.org>2014-09-22 14:48:01 +0000
commit2f7c217728e53654f7dad495ae5246ff644b5c91 (patch)
treeee31bcf8f7834905cef0b7bb6910668fa2a55e18
parent1cda9dd7f821e116a3c166103072af747a2f429c (diff)
downloadFreeBSD-ports-2f7c217728e53654f7dad495ae5246ff644b5c91.zip
FreeBSD-ports-2f7c217728e53654f7dad495ae5246ff644b5c91.tar.gz
Port uses sqrt(3) so link with libm
Reported by: sbruno
-rw-r--r--net/echoping/Makefile9
1 files 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 <bsd.port.pre.mk>
+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 <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud