git: 90b6cf74484b - main - devel/cmake-core: Fix build with non-base SSL
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Oct 2023 00:29:26 UTC
The branch main has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=90b6cf74484bcd5a922d85210f71b1bc4c849b0c
commit 90b6cf74484bcd5a922d85210f71b1bc4c849b0c
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-10-17 00:06:37 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-10-17 00:14:15 +0000
devel/cmake-core: Fix build with non-base SSL
This is a just a hotfix to keep things building, but more investigation
is certaintly warranted.
PR: 274512
Reported by: Dean E. Weimer <dweimer@dweimer.net>
---
devel/cmake-core/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/devel/cmake-core/Makefile b/devel/cmake-core/Makefile
index 0e5f63ee4bdf..6a2304277993 100644
--- a/devel/cmake-core/Makefile
+++ b/devel/cmake-core/Makefile
@@ -39,6 +39,10 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
--parallel=${MAKE_JOBS_NUMBER} \
--init="${WRKSRC}/InitialCache.cmake"
+# Quick fix to enable build with non-base SSL (PR: 274512)
+CFLAGS+= -I${OPENSSLINC}
+LDFLAGS+= -L${OPENSSLLIB}
+
OPTIONS_DEFINE= DOCS CPACK
OPTIONS_DEFAULT= CPACK
OPTIONS_SUB= yes