Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2024 03:19:22 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e674a134a3a8 - main - cad/magic: Fix build on 15 by explicitly defining configure option
Message-ID:  <202401130319.40D3JMQL049053@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e674a134a3a8c0dd285a4b4ee6bd103f0282c2ca

commit e674a134a3a8c0dd285a4b4ee6bd103f0282c2ca
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:17:44 +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/
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401130319.40D3JMQL049053>