mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
check if BUILD_DEPENDS is defined before trying to access it
problem found by aja, fix suggested by tb
This commit is contained in:
@@ -227,7 +227,8 @@ _MODPY_USERBASE = ${WRKDIR}
|
||||
# DPB failure if junking occurs. Add a dep to avoid this. This is
|
||||
# conditional to avoid loops (currently seen with py-numpy).
|
||||
MODPY_CYTHON_PYTHRAN_RDEP ?= Yes
|
||||
.if ${BUILD_DEPENDS:Mlang/cython*} && ${MODPY_CYTHON_PYTHRAN_RDEP} == Yes
|
||||
.if defined(BUILD_DEPENDS) && ${BUILD_DEPENDS:Mlang/cython*} && \
|
||||
${MODPY_CYTHON_PYTHRAN_RDEP} == Yes
|
||||
BUILD_DEPENDS += lang/pythran
|
||||
.endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user