Files
zonemaster.es/zonemaster-ldns/ldns/test/999-compile-nossl.tpkg/999-compile-nossl.test
Malin eaaa8f6a11 fix: populate ldns submodule and add autotools to LDNS build stage
- Re-cloned zonemaster-ldns with --recurse-submodules so the bundled
  ldns C library source (including Changelog and configure.ac) is present
- Added autoconf, automake, libtool to Dockerfile.backend ldns-build stage
  so libtoolize + autoreconf can generate ldns/configure during make

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 08:33:38 +02:00

44 lines
953 B
Plaintext

[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
export PATH=$PATH:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:.
# first arg is the build dir
TPKG_BUILD=$1
cd $TPKG_BUILD
ORIGDIR=`pwd`
case $OSTYPE in
linux*)
TMP=`mktemp -d`
libtoolize && autoreconf && \
cd $TMP && \
$ORIGDIR/configure --without-ssl && \
make
;;
freebsd*)
TMP=`mktemp -t /tmp -d`
libtoolize && \
autoconf259 && autoheader259 && \
cd $TMP && \
$ORIGDIR//configure --without-ssl && \
gmake
;;
darwin*)
TMP=`mktemp -d`
glibtoolize && \
autoconf && autoheader && \
export MACOSX_DEPLOYMENT_TARGET=10.4 && \
cd $TMP && \
$ORIGDIR//configure --without-ssl && \
make
;;
esac
cd $ORIGDIR
RES=$?
echo "DIR:"
echo $TMP
rm -rf $TMP
exit $RES