diff options
author | marino <marino@FreeBSD.org> | 2016-04-06 23:29:26 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-04-06 23:29:26 +0800 |
commit | 8ec1371aca15179ae06c5b1185dd286b25e5f686 (patch) | |
tree | 19e7fda25b482ca065918c93bb1ebda64e7fca74 /audio | |
parent | bafc24a0803509e492e379b4beff63786e73623d (diff) | |
download | freebsd-ports-gnome-8ec1371aca15179ae06c5b1185dd286b25e5f686.tar.gz freebsd-ports-gnome-8ec1371aca15179ae06c5b1185dd286b25e5f686.tar.zst freebsd-ports-gnome-8ec1371aca15179ae06c5b1185dd286b25e5f686.zip |
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
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mac/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/mac/Makefile b/audio/mac/Makefile index 944e23c3ae81..117e11625ab3 100644 --- a/audio/mac/Makefile +++ b/audio/mac/Makefile @@ -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: |