1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

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/
This commit is contained in:
Yuri Victorovich 2024-01-12 19:17:44 -08:00
parent aedbf69594
commit e674a134a3

View File

@ -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