Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2021 21:20:27 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 209f8b3d0009 - main - devel/m4: Add INFO option
Message-ID:  <202111212120.1ALLKRjO027033@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=209f8b3d00098482f9079ce3e4482562f4b3621e

commit 209f8b3d00098482f9079ce3e4482562f4b3621e
Author:     Greg V <greg@unrelenting.technology>
AuthorDate: 2021-11-21 21:17:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-11-21 21:17:17 +0000

    devel/m4: Add INFO option
    
    PR:             259554
---
 devel/m4/Makefile                  | 11 +++++++----
 devel/m4/files/extra-patch-no-info | 20 ++++++++++++++++++++
 2 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index b81572d62abf..8369784e465b 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -12,21 +12,24 @@ COMMENT=	GNU M4
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cpe iconv makeinfo tar:xz
+USES=		cpe iconv tar:xz
 
 CONFIGURE_ARGS=	--program-prefix=g
-CONFIGURE_ENV=	MAKEINFO="${MAKEINFO} --no-split"
 GNU_CONFIGURE=	yes
 
 EXAMPLESDIR=	${PREFIX}/share/examples/gm4
-INFO=		m4
 
 CPE_VENDOR=	gnu
 
-OPTIONS_DEFINE=	EXAMPLES LIBSIGSEGV NLS
+OPTIONS_DEFINE=	EXAMPLES INFO LIBSIGSEGV NLS
+OPTIONS_DEFAULT=INFO
 OPTIONS_SUB=	yes
 LIBSIGSEGV_DESC=Use alternative page fault handler (GNU libsigsegv)
 
+INFO_CONFIGURE_ENV=	MAKEINFO="${MAKEINFO} --no-split"
+INFO_EXTRA_PATCHES_OFF=	${PATCHDIR}/extra-patch-no-info
+INFO_INFO=		m4
+INFO_USES=		makeinfo
 LIBSIGSEGV_CONFIGURE_WITH=	libsigsegv-prefix=${LOCALBASE}
 LIBSIGSEGV_LIB_DEPENDS=	libsigsegv.so:devel/libsigsegv
 NLS_CONFIGURE_ENABLE=	nls
diff --git a/devel/m4/files/extra-patch-no-info b/devel/m4/files/extra-patch-no-info
new file mode 100644
index 000000000000..7be833cf2c47
--- /dev/null
+++ b/devel/m4/files/extra-patch-no-info
@@ -0,0 +1,20 @@
+--- doc/Makefile.in.orig	2021-05-28 18:48:48 UTC
++++ doc/Makefile.in
+@@ -2223,7 +2223,7 @@ distdir-am: $(DISTFILES)
+ 	  dist-info
+ check-am: all-am
+ check: check-am
+-all-am: Makefile $(INFO_DEPS) $(MANS)
++all-am: Makefile $(MANS)
+ installdirs:
+ 	for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)"; do \
+ 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+@@ -2279,7 +2279,7 @@ info: info-am
+ 
+ info-am: $(INFO_DEPS)
+ 
+-install-data-am: install-info-am install-man
++install-data-am: install-man
+ 
+ install-dvi: install-dvi-am
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111212120.1ALLKRjO027033>