git: 32932bd8815a - main - databases/soci: Fix packaging errors on no ODBC

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Wed, 08 Jun 2022 17:46:35 UTC
The branch main has been updated by nc:

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

commit 32932bd8815a130693a2d2e0a7bfcd11eca711a7
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-06-08 17:46:07 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-06-08 17:46:07 +0000

    databases/soci: Fix packaging errors on no ODBC
    
    PR:             264537
    Reported by:    Stéphane D'Alu <sdalu@sdalu.com>
---
 databases/soci/pkg-plist | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/databases/soci/pkg-plist b/databases/soci/pkg-plist
index 05d7ad447dad..f5b012e6f878 100644
--- a/databases/soci/pkg-plist
+++ b/databases/soci/pkg-plist
@@ -19,7 +19,7 @@ include/soci/into.h
 include/soci/logger.h
 include/soci/mysql/soci-mysql.h
 include/soci/noreturn.h
-include/soci/odbc/soci-odbc.h
+%%ODBC%%include/soci/odbc/soci-odbc.h
 include/soci/once-temp-type.h
 include/soci/postgresql/soci-postgresql.h
 include/soci/prepare-temp-type.h
@@ -72,10 +72,10 @@ lib/libsoci_mysql.a
 lib/libsoci_mysql.so
 lib/libsoci_mysql.so.4.0
 lib/libsoci_mysql.so.4.0.3
-lib/libsoci_odbc.a
-lib/libsoci_odbc.so
-lib/libsoci_odbc.so.4.0
-lib/libsoci_odbc.so.4.0.3
+%%ODBC%%lib/libsoci_odbc.a
+%%ODBC%%lib/libsoci_odbc.so
+%%ODBC%%lib/libsoci_odbc.so.4.0
+%%ODBC%%lib/libsoci_odbc.so.4.0.3
 lib/libsoci_postgresql.a
 lib/libsoci_postgresql.so
 lib/libsoci_postgresql.so.4.0