aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-22 22:48:01 +0800
committertijl <tijl@FreeBSD.org>2014-09-22 22:48:01 +0800
commit2f7c217728e53654f7dad495ae5246ff644b5c91 (patch)
treeee31bcf8f7834905cef0b7bb6910668fa2a55e18 /net
parent1cda9dd7f821e116a3c166103072af747a2f429c (diff)
downloadfreebsd-ports-gnome-2f7c217728e53654f7dad495ae5246ff644b5c91.tar.gz
freebsd-ports-gnome-2f7c217728e53654f7dad495ae5246ff644b5c91.tar.zst
freebsd-ports-gnome-2f7c217728e53654f7dad495ae5246ff644b5c91.zip
Port uses sqrt(3) so link with libm
Reported by: sbruno
Diffstat (limited to 'net')
-rw-r--r--net/echoping/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/net/echoping/Makefile b/net/echoping/Makefile
index f4c2ed804d2c..d7d0529a5f51 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>