Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 23:17:07 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ca3f553fbdfb - main - devel/tex-libtexluajit: similarly to other luajit ports, drop GCC on powerpc
Message-ID:  <202306302317.35UNH7iG063176@gitrepo.freebsd.org>

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

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

commit ca3f553fbdfbb95bc3a4f1206f7ca2556c1d317f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-06-30 23:14:56 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-06-30 23:16:48 +0000

    devel/tex-libtexluajit: similarly to other luajit ports, drop GCC on powerpc
---
 devel/tex-libtexluajit/Makefile | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/devel/tex-libtexluajit/Makefile b/devel/tex-libtexluajit/Makefile
index 755a50d673a9..453c80044360 100644
--- a/devel/tex-libtexluajit/Makefile
+++ b/devel/tex-libtexluajit/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libtexluajit
 PORTVERSION=	2.1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}
 PKGNAMEPREFIX=	tex-
@@ -19,7 +19,7 @@ BROKEN_powerpc64=	Does not build: uninitialized constant Config (NameError)
 BROKEN_riscv64=	Does not configure: error: Sorry, cannot preprocess lj_arch.h
 BROKEN_sparc64=	Does not configure: error: Sorry, cannot preprocess lj_arch.h
 
-USES=		libtool pathfix pkgconfig tar:xz tex
+USES=		compiler libtool pathfix pkgconfig tar:xz tex
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
@@ -30,10 +30,11 @@ EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
 EXTRACT_FILES=	build-aux libs/luajit
 WRKSRC=		${WRKDIR}/${DISTNAME}/libs/luajit
 
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
 
-.if ${ARCH} == powerpc
-USES+=		compiler:gcc-c++11-lib
+.if ${ARCH:Mpowerpc*} && ${COMPILER_VERSION} < 140
+BUILD_DEPENDS+= as:devel/binutils
+CFLAGS+=        -fno-integrated-as
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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