audio/mac: Don't clobber BUILD_DEPENDS + DF support

The yasm BUILD_DEPENDS will overwrite any previous definition
of BUILD_DEPENDS (e.g. iconv).  Change the operator to += to fix.
While here, yasm is only valid for FreeBSD, so add an OPSYS condition
in addition to the ARCH condition.

Approved by:	just-fix-it
This commit is contained in:
John Marino 2016-04-06 15:29:26 +00:00
parent 8e443ec3d0
commit 0aecd7aa5c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412626

View File

@ -24,8 +24,10 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
BUILD_DEPENDS= yasm:devel/yasm
BUILD_DEPENDS+= yasm:devel/yasm
.endif
.endif
post-install: