diff --git a/math/gmp/Makefile b/math/gmp/Makefile --- a/math/gmp/Makefile +++ b/math/gmp/Makefile @@ -9,7 +9,7 @@ LICENSE= LGPL3 -USES= cpe libtool makeinfo tar:xz +USES= cpe libtool tar:xz CPE_VENDOR= gmplib @@ -17,7 +17,6 @@ CPU_OPTS_DESC= Enable assembly optimizations for your CPU HAS_CONFIGURE= yes -CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split" CONFIGURE_ARGS= --prefix=${PREFIX} \ --infodir=${PREFIX}/${INFO_PATH} \ --mandir=${PREFIX}/man \ @@ -25,11 +24,17 @@ USE_LDCONFIG= yes -INFO= gmp - INSTALL_TARGET= install-strip TEST_TARGET= check +OPTIONS_DEFINE= INFO +OPTIONS_DEFAULT= INFO + +INFO_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-no-info +INFO_CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split" +INFO_INFO= gmp +INFO_USES= makeinfo + .include .if ${ARCH:Mmips*} diff --git a/math/gmp/files/extra-patch-no-info b/math/gmp/files/extra-patch-no-info --- a/math/gmp/files/extra-patch-no-info +++ b/math/gmp/files/extra-patch-no-info @@ -0,0 +1,8 @@ +--- Makefile.in.orig 2020-11-14 21:45:16.000000000 +0300 ++++ Makefile.in 2022-10-16 13:04:07.996246000 +0300 +@@ -575,4 +575,4 @@ +-SUBDIRS = tests mpn mpz mpq mpf printf scanf rand cxx demos tune doc ++SUBDIRS = tests mpn mpz mpq mpf printf scanf rand cxx demos tune + + # Put asl.h here for now. +