[Bug 272753] devel/mongo-c-driver: fix build with openssl 3

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 27 Jul 2023 12:24:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272753

            Bug ID: 272753
           Summary: devel/mongo-c-driver: fix build with openssl 3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: hiroo.ono+freebsd@gmail.com
                CC: ports@bsdserwis.com
                CC: ports@bsdserwis.com
             Flags: maintainer-feedback?(ports@bsdserwis.com)

Created attachment 243643
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243643&action=edit
small fixes.

Two fixes to the port Makefile.
* In the previous bug, I forgot to remove one commented out line. Sorry.
* A trailing double quote following 0x30000000L makes the build fail
  with DEFAULT_VERSIONS+=ssl=openssl30 (and maybe openssl31). Remove it.
  see: https://lists.freebsd.org/archives/freebsd-ports/2023-July/004180.html
   and https://lists.freebsd.org/archives/freebsd-ports/2023-July/004191.html

Other than devel/mongo-c-driver, these are the ports Makefile which has
trailing double quote:
./mail/datovka/Makefile:CXXFLAGS+=      -DOPENSSL_API_COMPAT=0x30000000L"
./mail/archiveopteryx/Makefile:CXXFLAGS+=      
-DOPENSSL_API_COMPAT=0x30000000L"
./news/nzbget/Makefile:CXXFLAGS+=       -DOPENSSL_API_COMPAT=0x30000000L"
./devel/ucommon/Makefile:CXXFLAGS+=      -DOPENSSL_API_COMPAT=0x30000000L"
./devel/thrift-c_glib/Makefile:CXXFLAGS+=      
-DOPENSSL_API_COMPAT=0x30000000L"
./security/git-crypt/Makefile:CXXFLAGS+=       
-DOPENSSL_API_COMPAT=0x30000000L"
./databases/xrootd/Makefile:CXXFLAGS+=  -DOPENSSL_API_COMPAT=0x30000000L"
./lang/php80/Makefile:CXXFLAGS+=        -DOPENSSL_API_COMPAT=0x30000000L"
./net/asterisk18/Makefile:CFLAGS+=      -DOPENSSL_API_COMPAT=0x30000000L"
./sysutils/istatserver/Makefile:CXXFLAGS+=     
-DOPENSSL_API_COMPAT=0x30000000L"
./www/lagrange/Makefile:CXXFLAGS+=      -DOPENSSL_API_COMPAT=0x30000000L"

-- 
You are receiving this mail because:
You are the assignee for the bug.