git: 3d4b207f3457 - main - databases/p5-DBD-Sybase: note needed freetds version

From: Eugene Grosbein <eugen_at_FreeBSD.org>
Date: Fri, 29 Apr 2022 02:05:21 UTC
The branch main has been updated by eugen:

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

commit 3d4b207f3457d03fefa39bb266807ad05c6aaa52
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2022-04-29 02:02:26 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2022-04-29 02:05:13 +0000

    databases/p5-DBD-Sybase: note needed freetds version
    
    p5-DBD-Sybase compilation fails with obscure build error
    when building system has previous version of freetds installed.
    Let's print friendly message instead noting needed freetds version.
---
 databases/p5-DBD-Sybase/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/databases/p5-DBD-Sybase/Makefile b/databases/p5-DBD-Sybase/Makefile
index 2cf6b3617c1d..949e04194e1f 100644
--- a/databases/p5-DBD-Sybase/Makefile
+++ b/databases/p5-DBD-Sybase/Makefile
@@ -13,6 +13,7 @@ LICENSE=	ART10 GPLv1+
 LICENSE_COMB=	dual
 
 BUILD_DEPENDS=	${RUN_DEPENDS}
+BUILD_DEPENDS+=	freetds>=1.3.10:databases/freetds
 LIB_DEPENDS=	libct.so:databases/freetds
 RUN_DEPENDS=	p5-DBI>=0:databases/p5-DBI