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

Collapse All | Expand All

(-)b/devel/m4/Makefile (-5 / +9 lines)
Lines 1-43 Link Here
1
# Created by: mr
1
# Created by: mr
2
2
3
PORTNAME=	m4
3
PORTNAME=	m4
4
PORTVERSION=	1.4.19
4
PORTVERSION=	1.4.19
5
PORTEPOCH=	1
5
PORTEPOCH=	1
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	GNU
7
MASTER_SITES=	GNU
8
8
9
MAINTAINER=	sunpoet@FreeBSD.org
9
MAINTAINER=	sunpoet@FreeBSD.org
10
COMMENT=	GNU M4
10
COMMENT=	GNU M4
11
11
12
LICENSE=	GPLv3
12
LICENSE=	GPLv3
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
USES=		cpe iconv makeinfo tar:xz
15
USES=		cpe iconv tar:xz
16
16
17
CONFIGURE_ARGS=	--program-prefix=g
17
CONFIGURE_ARGS=	--program-prefix=g
18
CONFIGURE_ENV=	MAKEINFO="${MAKEINFO} --no-split"
19
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
20
19
21
EXAMPLESDIR=	${PREFIX}/share/examples/gm4
20
EXAMPLESDIR=	${PREFIX}/share/examples/gm4
22
INFO=		m4
23
21
24
CPE_VENDOR=	gnu
22
CPE_VENDOR=	gnu
25
23
26
OPTIONS_DEFINE=	EXAMPLES LIBSIGSEGV NLS
24
OPTIONS_DEFINE=	EXAMPLES INFO LIBSIGSEGV NLS
27
OPTIONS_SUB=	yes
25
OPTIONS_SUB=	yes
28
LIBSIGSEGV_DESC=Use alternative page fault handler (GNU libsigsegv)
29
26
27
INFO_EXTRA_PATCHES_OFF=	${PATCHDIR}/extra-patch-no-info
28
INFO_CONFIGURE_ENV=	MAKEINFO="${MAKEINFO} --no-split"
29
INFO_INFO=		m4
30
INFO_USES=	makeinfo
31
32
LIBSIGSEGV_DESC=Use alternative page fault handler (GNU libsigsegv)
30
LIBSIGSEGV_CONFIGURE_WITH=	libsigsegv-prefix=${LOCALBASE}
33
LIBSIGSEGV_CONFIGURE_WITH=	libsigsegv-prefix=${LOCALBASE}
31
LIBSIGSEGV_LIB_DEPENDS=	libsigsegv.so:devel/libsigsegv
34
LIBSIGSEGV_LIB_DEPENDS=	libsigsegv.so:devel/libsigsegv
35
32
NLS_CONFIGURE_ENABLE=	nls
36
NLS_CONFIGURE_ENABLE=	nls
33
NLS_USES=		gettext
37
NLS_USES=		gettext
34
38
35
post-patch:
39
post-patch:
36
	@${REINPLACE_CMD} -e '/^* M4: / s|M4|G&|' ${WRKSRC}/doc/m4.texi
40
	@${REINPLACE_CMD} -e '/^* M4: / s|M4|G&|' ${WRKSRC}/doc/m4.texi
37
	@${REINPLACE_CMD} -e '/^install-exec-am: / s| .*||' ${WRKSRC}/lib/Makefile.in
41
	@${REINPLACE_CMD} -e '/^install-exec-am: / s| .*||' ${WRKSRC}/lib/Makefile.in
38
42
39
post-install-EXAMPLES-on:
43
post-install-EXAMPLES-on:
40
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
44
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
41
	${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${STAGEDIR}${EXAMPLESDIR}/
45
	${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${STAGEDIR}${EXAMPLESDIR}/
42
46
43
.include <bsd.port.mk>
47
.include <bsd.port.mk>
(-)b/devel/m4/files/extra-patch-no-info (-1 / +20 lines)
Added Link Here
0
- 
1
--- doc/Makefile.in.orig	2021-10-30 16:35:58 UTC
2
+++ doc/Makefile.in
3
@@ -2223,7 +2223,7 @@ distdir-am: $(DISTFILES)
4
 	  dist-info
5
 check-am: all-am
6
 check: check-am
7
-all-am: Makefile $(INFO_DEPS) $(MANS)
8
+all-am: Makefile $(MANS)
9
 installdirs:
10
 	for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)"; do \
11
 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
12
@@ -2279,7 +2279,7 @@ info: info-am
13
 
14
 info-am: $(INFO_DEPS)
15
 
16
-install-data-am: install-info-am install-man
17
+install-data-am: install-man
18
 
19
 install-dvi: install-dvi-am
20
 

Return to bug 259554