git: 8e9d611500e3 - 2024Q1 - cad/magic: Fix build on 15 by explicitly defining configure option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Jan 2024 03:19:40 UTC
The branch 2024Q1 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8e9d611500e30f0ee512fd206cf0839f6dd4f31e
commit 8e9d611500e30f0ee512fd206cf0839f6dd4f31e
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-13 03:17:44 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-13 03:19:35 +0000
cad/magic: Fix build on 15 by explicitly defining configure option
--enable-modular (off by default) enables functions in the code
that are in *.sym unconditionally.
Reported by: https://portsfallout.com/
(cherry picked from commit e674a134a3a8c0dd285a4b4ee6bd103f0282c2ca)
---
cad/magic/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cad/magic/Makefile b/cad/magic/Makefile
index 582ed96c22d6..9448c2ac244a 100644
--- a/cad/magic/Makefile
+++ b/cad/magic/Makefile
@@ -1,5 +1,6 @@
PORTNAME= magic
DISTVERSION= 8.3.315
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://opencircuitdesign.com/magic/archive/
@@ -22,7 +23,8 @@ USE_GL= gl glu
SHEBANG_FILES= scripts/preproc.py tcltk/magic.sh.in tcltk/ext2sim.sh.in tcltk/ext2spice.sh.in
-CONFIGURE_ARGS= --with-opengl
+CONFIGURE_ARGS= --with-opengl \
+ --enable-modular # --enable-modular should fix build on 15, when failures were due to missing symbols defined in *.sym but not in code
CONFIGURE_WRKSRC= ${WRKSRC}/scripts
ALL_TARGET= tcllibrary