echoping: unbreak on powerpc
clang does not inline sqrt(3) on powerpc, leading to undefined references, it requires libm (it has been applied to all archs). Thanks to gkoehler and naddy for providing better explanations about the situation! While here, remove a trailing whitespace in DESCR. OK gkoehler@
This commit is contained in:
parent
fbcfe48ae7
commit
9eb5192486
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.15 2021/02/01 19:47:08 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.16 2021/02/10 22:51:27 cwen Exp $
|
||||
|
||||
COMMENT= test performance of remote TCP/UDP services
|
||||
|
||||
VER= 6_0_2
|
||||
DISTNAME= echoping-RELEASE_${VER}
|
||||
PKGNAME= echoping-${VER:S/_/./g}
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
CATEGORIES= net
|
||||
|
||||
MASTER_SITES= https://framagit.org/bortzmeyer/echoping/-/archive/RELEASE_${VER}/
|
||||
@ -15,7 +15,7 @@ HOMEPAGE= https://github.com/bortzmeyer/echoping
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += c crypto iconv intl popt ssl
|
||||
WANTLIB += c crypto iconv intl m popt ssl
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
@ -37,6 +37,9 @@ CONFIGURE_ARGS+= --enable-plugin="dns random whois" \
|
||||
--enable-tos \
|
||||
--without-libidn
|
||||
|
||||
# Requires libm: uses sqrt(3), inlined by the compiler on some archs
|
||||
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -lm"
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME}/SRC
|
||||
|
||||
post-extract:
|
||||
|
@ -1,3 +1,3 @@
|
||||
"echoping" is a small program to test (approximately) performance of a
|
||||
"echoping" is a small program to test (approximately) performance of a
|
||||
remote host by sending it packets using various protocols (TCP/UDP echo,
|
||||
HTTP/HTTPS and some others).
|
||||
|
Loading…
Reference in New Issue
Block a user