git: ffbdaf1455ee - main - audio/zynaddsubfx: Fix build dependency for ZynAddSubFx.

From: Hans Petter Selasky <hselasky_at_FreeBSD.org>
Date: Tue, 28 Dec 2021 22:48:09 UTC
The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ffbdaf1455ee6eef75ab9759821963380657520c

commit ffbdaf1455ee6eef75ab9759821963380657520c
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2021-12-28 22:46:11 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2021-12-28 22:47:19 +0000

    audio/zynaddsubfx: Fix build dependency for ZynAddSubFx.
    
    Depend on header file and not library.
    
    Approved by: pi (implicit)
---
 audio/zynaddsubfx/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/audio/zynaddsubfx/Makefile b/audio/zynaddsubfx/Makefile
index 386b68f12574..b147e4080b4a 100644
--- a/audio/zynaddsubfx/Makefile
+++ b/audio/zynaddsubfx/Makefile
@@ -3,7 +3,7 @@
 PORTNAME=	zynaddsubfx
 DISTVERSION=	3.0.6-rc5
 PORTEPOCH=	1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	audio
 
 MAINTAINER=	hselasky@FreeBSD.org
@@ -11,7 +11,7 @@ COMMENT=	Realtime software synthesizer
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=	libfftw3.so:math/fftw3
+BUILD_DEPENDS=	${LOCALBASE}/include/fftw3.h:math/fftw3
 
 LIB_DEPENDS=	libfftw3f.so:math/fftw3-float \
 		libmxml.so:textproc/mxml \