diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index dee3fb749890..9115eca8aa34 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -2,6 +2,7 @@ PORTNAME= binutils PORTVERSION= 2.37 +PORTREVISION= 1 PORTEPOCH?= 1 CATEGORIES?= devel MASTER_SITES= SOURCEWARE/binutils/releases @@ -124,6 +125,8 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} post-patch: ${REINPLACE_CMD} -e "s/-ldl//g" ${WRKSRC}/gold/testsuite/Makefile.in +# Force the generation of man pages + ${RM} ${WRKSRC}/binutils/doc/*.1 post-install: .if ${FLAVOR} == native diff --git a/devel/binutils/files/patch-etc_texi2pod.pl b/devel/binutils/files/patch-etc_texi2pod.pl new file mode 100644 index 000000000000..456d44cfcdbd --- /dev/null +++ b/devel/binutils/files/patch-etc_texi2pod.pl @@ -0,0 +1,11 @@ +--- etc/texi2pod.pl.orig 2021-08-30 17:17:09 UTC ++++ etc/texi2pod.pl +@@ -59,6 +59,8 @@ while ($_ = shift) { + $flag = shift; + } + push (@ipath, $flag); ++ } elsif (/^--no-split$/) { ++ # ignore option for makeinfo compatibility + } elsif (/^-/) { + usage(); + } else {