dnsperf tweaks: sync WANTLIB, and don't hardcode the old libs list from

isc-config.sh (which has now been removed), just list bind9 and let libtool
sort out the rest.
This commit is contained in:
sthen 2020-02-25 13:38:30 +00:00
parent 794b8e109d
commit cb09d2fe89
2 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2020/02/23 11:59:55 sthen Exp $
# $OpenBSD: Makefile,v 1.7 2020/02/25 13:38:30 sthen Exp $
COMMENT = DNS performance testing tools
DISTNAME = dnsperf-2.3.2
REVISION = 0
REVISION = 1
CATEGORIES = net benchmarks
@ -13,7 +13,7 @@ HOMEPAGE = https://www.dns-oarc.net/tools/dnsperf/
PERMIT_PACKAGE = Yes
WANTLIB += bind9 c crypto dns iconv isc isccfg json-c lzma m
WANTLIB += ssl xml2 z
WANTLIB += ns ssl uv xml2 z
# needs c++abi on clang arches; this is the simplest way (but results
# in "Extra"s in check-lib-depends).

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-configure_ac,v 1.1 2020/02/22 13:21:16 sthen Exp $
$OpenBSD: patch-configure_ac,v 1.2 2020/02/25 13:38:30 sthen Exp $
Index: configure.ac
--- configure.ac.orig
@ -20,7 +20,7 @@ Index: configure.ac
-AS_VAR_APPEND(CFLAGS, [" `$ac_cv_isc_config --cflags dns bind9`"])
-AS_VAR_APPEND(LDFLAGS, [" `$ac_cv_isc_config --libs dns bind9`"])
+AS_VAR_APPEND(LDFLAGS, ["-lbind9 -ldns -lisccfg -lisc -lcrypto -ljson-c -lxml2 -lz -llzma -lpthread -liconv -lm"])
+AS_VAR_APPEND(LDFLAGS, ["-lbind9"])
AC_CHECK_HEADERS([isc/hmacmd5.h isc/hmacsha.h])