diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-07-01 01:14:56 +0200 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-07-01 01:16:48 +0200 |
commit | ca3f553fbdfbb95bc3a4f1206f7ca2556c1d317f (patch) | |
tree | 575aee50631fff6fdf2e488c1e150f887da17c40 | |
parent | www/nginx-devel: third-party lua module update to v0.10.25 (diff) |
devel/tex-libtexluajit: similarly to other luajit ports, drop GCC on powerpc
-rw-r--r-- | devel/tex-libtexluajit/Makefile | 13 |
1 files 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> |