git: 31e5c3686bbc - main - net/astron: Use proper options helper for SOCI

Tobias Kortkamp tobik at FreeBSD.org
Thu Apr 15 08:32:11 UTC 2021


The branch main has been updated by tobik:

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

commit 31e5c3686bbc36849104085725d032955cac8e2f
Author:     Tobias Kortkamp <tobik at FreeBSD.org>
AuthorDate: 2021-04-15 08:17:22 +0000
Commit:     Tobias Kortkamp <tobik at FreeBSD.org>
CommitDate: 2021-04-15 08:31:56 +0000

    net/astron: Use proper options helper for SOCI
---
 net/astron/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net/astron/Makefile b/net/astron/Makefile
index 7e427e3c703b..7124bb487cfb 100644
--- a/net/astron/Makefile
+++ b/net/astron/Makefile
@@ -24,9 +24,6 @@ OPTIONS_DEFAULT=	SOCI
 
 SOCI_DESC=		Database support via Soci
 SOCI_LIB_DEPENDS=	libsoci_core.so:databases/soci
-
-.if !empty(VARIABLE:MSOCI)
-CMAKE_ARGS+=	-DSOCI_FOUND=NO
-.endif
+SOCI_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Soci
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list