#!/bin/bash
# Build script for cmakeset -e
cd "$SRCDIR"export PATH="/usr/gnu/bin:$PATH"# CMake uses its own bootstrap script# Note: --system-curl removed due to curl 8.x header incompatibility on illumos# (CURL_NETRC_* defined as long instead of enum)./bootstrap \
--prefix=$PREFIX \
--system-zlib \
--parallel=${JOBS:-1}gmake -j${JOBS:-1}gmake install DESTDIR="$PKGDIR"