View | Details | Raw Unified | Return to bug 241719 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-3 / +5 lines)
Lines 29-42 Link Here
29
OPTIONS_DEFINE=	NLS
29
OPTIONS_DEFINE=	NLS
30
OPTIONS_SUB=	yes
30
OPTIONS_SUB=	yes
31
31
32
USES=		charsetfix cpe gmake iconv libtool ncurses perl5 tar:xz
32
USES=		charsetfix cpe gettext-runtime gmake iconv libtool \
33
		localbase ncurses perl5 tar:xz
33
34
34
CONFIGURE_ARGS=	--with-external-libintl-perl \
35
CONFIGURE_ARGS=	--with-external-libintl-perl \
35
		--with-external-Text-Unidecode \
36
		--with-external-Text-Unidecode \
37
		PERL_EXT_CPPFLAGS="${CPPFLAGS}" \
36
		--with-external-Unicode-EastAsianWidth
38
		--with-external-Unicode-EastAsianWidth
37
GNU_CONFIGURE=	yes
39
GNU_CONFIGURE=	yes
38
INSTALL_TARGET=	install-strip install-tex
40
INSTALL_TARGET=	install-strip install-tex
39
MAKE_ARGS=	PERL=${PERL} TEXMF=${LOCALBASE}/${TEXMFDIR}
41
MAKE_ARGS=	LTLIBICONV= PERL=${PERL} TEXMF=${PREFIX}/${TEXMFDIR}
40
PKGDEINSTALL=	${PKGINSTALL}
42
PKGDEINSTALL=	${PKGINSTALL}
41
USE_TEX=	yes
43
USE_TEX=	yes
42
44
Lines 50-56 Link Here
50
CPE_VERSION=	${PORTVERSION:R}
52
CPE_VERSION=	${PORTVERSION:R}
51
53
52
NLS_CONFIGURE_ENABLE=	nls
54
NLS_CONFIGURE_ENABLE=	nls
53
NLS_USES=		gettext
55
NLS_USES=		gettext-tools
54
56
55
post-patch:
57
post-patch:
56
	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/texinfo.tex-${TEXINFO_TEX_RELDATE} ${WRKSRC}/doc/texinfo.tex
58
	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/texinfo.tex-${TEXINFO_TEX_RELDATE} ${WRKSRC}/doc/texinfo.tex
(-)files/patch-tp-Texinfo-XS-parsetexi-api.c (-12 lines)
Lines 1-12 Link Here
1
--- tp/Texinfo/XS/parsetexi/api.c.orig	2019-08-25 17:11:45 UTC
2
+++ tp/Texinfo/XS/parsetexi/api.c
3
@@ -25,7 +25,9 @@
4
 
5
 #undef context
6
 
7
+#if defined(HAVE_LIBINTL_H)
8
 #include <libintl.h>
9
+#endif
10
 
11
 #include <stdlib.h>
12
 #include <stdio.h>
(-)files/patch-tp-Texinfo-XS-parsetexi-errors.c (-12 lines)
Lines 1-12 Link Here
1
--- tp/Texinfo/XS/parsetexi/errors.c.orig	2019-08-25 17:11:45 UTC
2
+++ tp/Texinfo/XS/parsetexi/errors.c
3
@@ -14,7 +14,9 @@
4
    along with this program.  If not, see <http://www.gnu.org/licenses/>. */
5
 
6
 #include <config.h>
7
+#if defined(HAVE_LIBINTL_H)
8
 #include <libintl.h>
9
+#endif
10
 
11
 #include <stdlib.h>
12
 #include <stdarg.h>

Return to bug 241719