PACKAGE_BUILDING isn't really the right condition here;
what we use as the binutils really depends on whether this is being used as a master port or as a standalone port.
This commit is contained in:
parent
05fcae2f97
commit
c9bb38b874
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323839
@ -22,18 +22,10 @@ LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
|
||||
mpfr.4:${PORTSDIR}/math/mpfr \
|
||||
mpc.2:${PORTSDIR}/math/mpc
|
||||
|
||||
#
|
||||
# Temporary hack to deal with dependencies during package builds for
|
||||
# slave ports.
|
||||
#
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
BUILD_DEPENDS= ${OURTARGET}-as:${PORTSDIR}/devel/${OURTARGET}-binutils
|
||||
RUN_DEPENDS= ${OURTARGET}-as:${PORTSDIR}/devel/${OURTARGET}-binutils
|
||||
BROKEN= plist build broken with tinderbox/cluster
|
||||
.else
|
||||
BUILD_DEPENDS= ${OURTARGET}-as:${PORTSDIR}/devel/cross-binutils
|
||||
RUN_DEPENDS= ${OURTARGET}-as:${PORTSDIR}/devel/cross-binutils
|
||||
.endif
|
||||
# If using this as a master port, override BUILD_DEPENDS and
|
||||
# RUN_DEPENDS with the appropriate specific binutils port.
|
||||
BUILD_DEPENDS?= ${OURTARGET}-as:${PORTSDIR}/devel/cross-binutils
|
||||
RUN_DEPENDS?= ${OURTARGET}-as:${PORTSDIR}/devel/cross-binutils
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
|
Loading…
Reference in New Issue
Block a user