1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

math/mpfr: optionalize INFO

PR:		275377
Submitted by:	firk <firk@cantconnect.ru>
This commit is contained in:
Alex Dupre 2023-11-28 14:15:30 +01:00
parent bb2749bb62
commit 1480c60022
2 changed files with 27 additions and 4 deletions

View File

@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
LIB_DEPENDS= libgmp.so:math/gmp
USES= gmake libtool makeinfo pathfix tar:xz
USES= gmake libtool pathfix tar:xz
#PATCHLEVEL= 12
#PATCHFILES!= /usr/bin/jot -s " " -w patch%02d ${PATCHLEVEL} 1 ${PATCHLEVEL}
@ -29,10 +29,13 @@ INSTALL_TARGET= install-strip
TEST_TARGET= check
USE_LDCONFIG= yes
INFO= mpfr
PORTDOCS= *
OPTIONS_DEFINE= DOCS
OPTIONS_DEFINE= DOCS INFO
OPTIONS_DEFAULT= INFO
INFO_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-no-info
INFO_USES= makeinfo
INFO_INFO= mpfr
.include <bsd.port.mk>

View File

@ -0,0 +1,20 @@
--- doc/Makefile.in.orig 2020-07-10 14:59:02.000000000 +0300
+++ doc/Makefile.in 2022-10-16 13:51:10.556330000 +0300
@@ -582,7 +582,7 @@
dist-info
check-am: all-am
check: check-am
-all-am: Makefile $(INFO_DEPS) $(DATA)
+all-am: Makefile $(DATA)
installdirs:
for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(docdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
@@ -637,7 +637,7 @@
info-am: $(INFO_DEPS)
-install-data-am: install-dist_docDATA install-info-am
+install-data-am: install-dist_docDATA
install-dvi: install-dvi-am