freebsd-ports/devel/tex-libtexluajit/Makefile
Piotr Kubaj d036a86ff2 devel/tex-libtexluajit: fix build on powerpc
Use GCC:
lj_vm_asm.s:2771:2: error: unknown directive
        .gnu_attribute 4, 1
2021-06-09 09:46:48 +00:00

36 lines
1.1 KiB
Makefile

PORTNAME= libtexluajit
PORTVERSION= 2.0.3
CATEGORIES= devel
MASTER_SITES= TEX_CTAN/systems/texlive/Source/
PKGNAMEPREFIX= tex-
DISTNAME= texlive-20150521-source
DIST_SUBDIR= TeX
MAINTAINER= freebsd-tex@FreeBSD.org
COMMENT= LuaJIT library for TeXLive
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LuaJIT-2.0.3/COPYRIGHT
BROKEN_aarch64= Does not configure: error: Sorry, cannot preprocess lj_arch.h
BROKEN_mips= Does not configure: error: Sorry, cannot preprocess lj_arch.h
BROKEN_mips64= Does not configure: error: Sorry, cannot preprocess lj_arch.h
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= tar:xz libtool pathfix pkgconfig
USE_LDCONFIG= yes
EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,}
EXTRACT_FILES= build-aux libs/luajit
WRKSRC= ${WRKDIR}/${DISTNAME}/libs/luajit
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USES+= compiler:gcc-c++11-lib
.endif
.include <bsd.port.mk>