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

Collapse All | Expand All

(-)Makefile (-3 / +4 lines)
Lines 29-35 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 \
Lines 36-42 Link Here
36
		--with-external-Unicode-EastAsianWidth
37
		--with-external-Unicode-EastAsianWidth
37
GNU_CONFIGURE=	yes
38
GNU_CONFIGURE=	yes
38
INSTALL_TARGET=	install-strip install-tex
39
INSTALL_TARGET=	install-strip install-tex
39
MAKE_ARGS=	PERL=${PERL} TEXMF=${LOCALBASE}/${TEXMFDIR}
40
MAKE_ARGS=	LTLIBICONV= PERL=${PERL} TEXMF=${LOCALBASE}/${TEXMFDIR}
40
PKGDEINSTALL=	${PKGINSTALL}
41
PKGDEINSTALL=	${PKGINSTALL}
41
USE_TEX=	yes
42
USE_TEX=	yes
42
43
Lines 50-56 Link Here
50
CPE_VERSION=	${PORTVERSION:R}
51
CPE_VERSION=	${PORTVERSION:R}
51
52
52
NLS_CONFIGURE_ENABLE=	nls
53
NLS_CONFIGURE_ENABLE=	nls
53
NLS_USES=		gettext
54
NLS_USES=		gettext-tools
54
55
55
post-patch:
56
post-patch:
56
	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/texinfo.tex-${TEXINFO_TEX_RELDATE} ${WRKSRC}/doc/texinfo.tex
57
	@${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