aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-01-13 03:17:44 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-01-13 03:17:44 +0000
commite674a134a3a8c0dd285a4b4ee6bd103f0282c2ca (patch)
treec8d9024eb8959ecea9116e7cba1316f4b725e721
parentaedbf6959465b10ae857a6ae5a296281a5e0b40b (diff)
downloadports-e674a134a3a8c0dd285a4b4ee6bd103f0282c2ca.tar.gz
ports-e674a134a3a8c0dd285a4b4ee6bd103f0282c2ca.zip
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/
-rw-r--r--cad/magic/Makefile4
1 files changed, 3 insertions, 1 deletions
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