summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiva Mahadevan <me@svmhdvn.name>2025-06-04 13:51:19 +0000
committerÄlven <alven@FreeBSD.org>2025-09-10 13:34:12 +0400
commitcd2634e61bc8767883ee4ef1934ffe2d80d99f47 (patch)
treec258abdc72453ac1863e66be5252a3e589af8c79
parentx11-fonts/gallant: [NEW PORT] 4.4BSD/Sun Microsystems Gallant font (diff)
print/tex-xetex: fix WITH_PIE build and remove PIE_UNSAFE
PR: 268884 Approved by: tex@ (maintainer, timeout > 3 months) Approved by: yuri@ (Mentor)
-rw-r--r--print/tex-xetex/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/print/tex-xetex/Makefile b/print/tex-xetex/Makefile
index 40f368c99d95..bc5b4d39c817 100644
--- a/print/tex-xetex/Makefile
+++ b/print/tex-xetex/Makefile
@@ -1,5 +1,6 @@
PORTNAME= xetex
DISTVERSION= ${TEXLIVE_VERSION}
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}/
PKGNAMEPREFIX= tex-
@@ -30,9 +31,7 @@ USE_TEX= kpathsea web2c formats fmtutil dvipdfmx
USE_XORG= pixman
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=CC="${CC}" \
- CXX="${CXX}" \
- ${EXCLUDE_ENGINES:S/^/--disable-/} \
+CONFIGURE_ARGS+=${EXCLUDE_ENGINES:S/^/--disable-/} \
--enable-xetex \
--with-system-freetype2 \
--with-freetype2-includes=${LOCALBASE}/include/freetype2 \
@@ -46,13 +45,13 @@ CONFIGURE_ARGS+=CC="${CC}" \
--with-teckit-libdir=${LOCALBASE}/lib \
--with-system-zziplib \
--with-system-zlib
+CONFIGURE_ENV+= ${MAKE_ENV}
.for L in cairo gmp kpathsea libpng mpfr pixman ptexenc icu
CONFIGURE_ARGS+=--with-system-$L \
--with-$L-include=${LOCALBASE}/include \
--with-$L-libdir=${LOCALBASE}/lib
.endfor
-PIE_UNSAFE= yes
MAKE_JOBS_UNSAFE= yes
CPPFLAGS= -I${LOCALBASE}/include/harfbuzz