diff options
author | Greg V <greg@unrelenting.technology> | 2021-11-21 21:17:17 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-11-21 21:17:17 +0000 |
commit | 209f8b3d00098482f9079ce3e4482562f4b3621e (patch) | |
tree | 27e638cce3c39efce8d2630af37544e663ebef4f | |
parent | 3e8a53b114fff14c2aca4cf62282ca569edbcf06 (diff) | |
download | ports-209f8b3d00098482f9079ce3e4482562f4b3621e.tar.gz ports-209f8b3d00098482f9079ce3e4482562f4b3621e.zip |
devel/m4: Add INFO option
PR: 259554
-rw-r--r-- | devel/m4/Makefile | 11 | ||||
-rw-r--r-- | 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 + |