build: adding SRC_BASE to command line breaks nrpe3 Makefile

This commit is contained in:
Franco Fichtner 2022-12-12 09:43:15 +01:00
parent f96291ce67
commit 1dd0017153
5 changed files with 7 additions and 4 deletions

View File

@ -59,7 +59,6 @@ echo "${PORTSLIST}" | while read PORT_ORIGIN; do
PACKAGES=${PACKAGESDIR}
PRODUCT_ABI=${PRODUCT_ABI}
PRODUCT_FLAVOUR=${PRODUCT_FLAVOUR}
SRC_BASE=${SRCDIR}
TRYBROKEN=yes
UNAME_r=\$(freebsd-version)
USE_PACKAGE_DEPENDS=yes

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright (c) 2021 Franco Fichtner <franco@opnsense.org>
# Copyright (c) 2021-2022 Franco Fichtner <franco@opnsense.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@ -38,4 +38,9 @@ for KEY in LUA PERL PHP PYTHON RUBY; do
SED="${SED} -e s:%%${KEY}%%:${VALUE}:g"
done
for KEY in SRCDIR; do
eval VALUE="\${${KEY}}"
SED="${SED} -e s:%%${KEY}%%:${VALUE}:g"
done
${SED} ${CONFIGDIR}/make.conf

View File

@ -112,7 +112,6 @@ PACKAGES=${PACKAGESDIR}-cache
PRODUCT_ABI=${PRODUCT_ABI}
PRODUCT_ARCH=${PRODUCT_ARCH}
PRODUCT_FLAVOUR=${PRODUCT_FLAVOUR}
SRC_BASE=${SRCDIR}
UNAME_r=\$(freebsd-version)
"

View File

@ -79,7 +79,6 @@ while read PORT_ORIGIN PORT_BROKEN; do
__MAKE_CONF=${STAGEDIR}/make.conf
PRODUCT_ABI=${PRODUCT_ABI}
PRODUCT_FLAVOUR=${PRODUCT_FLAVOUR}
SRC_BASE=${SRCDIR}
"
if [ ${FLAVOR} != ${PORT} ]; then

View File

@ -42,6 +42,7 @@ DEFAULT_VERSIONS+= perl5=${PRODUCT_PERL}
DEFAULT_VERSIONS+= php=${PRODUCT_PHP}
DEFAULT_VERSIONS+= lua=${PRODUCT_LUA}
DEFAULT_OPENLDAP_VER+= ${PRODUCT_LDAP}
SRC_BASE= %%SRCDIR%%
ALLOW_UNSUPPORTED_SYSTEM=why not
WARNING_WAIT= 0 # no time
WRKDIRPREFIX= /usr/obj