diff options
author | Sergey V. Lobanov <sergey@lobanov.in> | 2022-01-27 02:45:47 +0300 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2022-01-28 12:08:27 -0800 |
commit | 768a832df11dfac0f2f16e0dfd52665f644669a0 (patch) | |
tree | 71423874b77a809a705e52d1531aafd3cd04b511 /net/isc-dhcp/patches | |
parent | 98332fea156ab8168b6a1f38f2380615b5819408 (diff) |
isc-dhcp: fix build on macos
isc-dhcp uses system ar tool so build fails on Darwin build host.
Embedded bind lib uses system ar and ranlib tools and fails on Darwin
This patch explicitly specifies ar and ranlib tools for target build
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
Diffstat (limited to 'net/isc-dhcp/patches')
-rw-r--r-- | net/isc-dhcp/patches/510-bind-CC.patch | 2 | ||||
-rw-r--r-- | net/isc-dhcp/patches/520-bind-no-catgets.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/isc-dhcp/patches/510-bind-CC.patch b/net/isc-dhcp/patches/510-bind-CC.patch index c100f71c3..a2acec3d5 100644 --- a/net/isc-dhcp/patches/510-bind-CC.patch +++ b/net/isc-dhcp/patches/510-bind-CC.patch @@ -5,7 +5,7 @@ rm -rf ${cleandirs} ${cleanfiles} ; \ (cd ${bindsrcdir} && \ - ./configure ${bindconfig} > ${binddir}/configure.log); \ -+ export CC=${CROSS_CC} && \ ++ export CC=${CROSS_CC} AR=${TARGET_AR} RANLIB=${TARGET_RANLIB} && \ + ./configure ${bindconfig} --disable-atomic \ + --disable-kqueue --disable-epoll --disable-kqueue \ + --disable-epoll --disable-devpoll --without-openssl \ diff --git a/net/isc-dhcp/patches/520-bind-no-catgets.patch b/net/isc-dhcp/patches/520-bind-no-catgets.patch index ed8a4b063..bd956032c 100644 --- a/net/isc-dhcp/patches/520-bind-no-catgets.patch +++ b/net/isc-dhcp/patches/520-bind-no-catgets.patch @@ -3,7 +3,7 @@ @@ -57,6 +57,7 @@ bind1: rm -rf ${cleandirs} ${cleanfiles} ; \ (cd ${bindsrcdir} && \ - export CC=${CROSS_CC} && \ + export CC=${CROSS_CC} AR=${TARGET_AR} RANLIB=${TARGET_RANLIB} && \ + ac_cv_func_catgets=no \ ./configure ${bindconfig} --disable-atomic \ --disable-kqueue --disable-epoll --disable-kqueue \ |