From e674a134a3a8c0dd285a4b4ee6bd103f0282c2ca Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Fri, 12 Jan 2024 19:17:44 -0800 Subject: [PATCH] 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/ --- 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