build: pass SRC_BASE so ports know about correct SRCDIR; closes #294
This commit is contained in:
parent
6b61fb18d4
commit
73da6bb488
|
@ -59,6 +59,7 @@ 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
|
||||
|
|
|
@ -112,6 +112,7 @@ PACKAGES=${PACKAGESDIR}-cache
|
|||
PRODUCT_ABI=${PRODUCT_ABI}
|
||||
PRODUCT_ARCH=${PRODUCT_ARCH}
|
||||
PRODUCT_FLAVOUR=${PRODUCT_FLAVOUR}
|
||||
SRC_BASE=${SRCDIR}
|
||||
UNAME_r=\$(freebsd-version)
|
||||
"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright (c) 2015-2021 Franco Fichtner <franco@opnsense.org>
|
||||
# Copyright (c) 2015-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
|
||||
|
@ -79,6 +79,7 @@ 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
|
||||
|
|
Loading…
Reference in New Issue