git: ea307f60573e - main - devel/binutils: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 22:15:07 UTC
The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=ea307f60573edaffb8152c7ab9ab668a4a8785c7 commit ea307f60573edaffb8152c7ab9ab668a4a8785c7 Author: Renato Botelho <garga@FreeBSD.org> AuthorDate: 2024-01-22 22:14:15 +0000 Commit: Renato Botelho <garga@FreeBSD.org> CommitDate: 2024-01-22 22:14:15 +0000 devel/binutils: Sanitize MANPREFIX Approved by: portmgr (blanket) --- devel/binutils/Makefile | 7 ++++--- devel/binutils/pkg-plist | 30 +++++++++++++++--------------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index 60f283d86263..bde967280610 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -1,6 +1,6 @@ PORTNAME= binutils DISTVERSION= 2.40 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH?= 1 CATEGORIES?= devel MASTER_SITES= GNU \ @@ -29,6 +29,7 @@ USES= bison:alias compiler:env cpe gmake localbase libtool perl5 pkgconfig tar: USE_PERL5= build CPE_VENDOR= gnu GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share #TEST_DEPENDS+= runtest:misc/dejagnu CONFIGURE_ARGS+= --disable-werror \ @@ -180,8 +181,8 @@ post-install: .for tool in ${BUREMOVE} @${RM} ${STAGEDIR}${PREFIX}/bin/${BUTARGET}-${tool} \ ${STAGEDIR}${PREFIX}/bin/${tool} \ - ${STAGEDIR}${MANPREFIX}/man/man1/${BUTARGET}-${tool}.1 \ - ${STAGEDIR}${MANPREFIX}/man/man1/${tool}.1 \ + ${STAGEDIR}${PREFIX}/share/man/man1/${BUTARGET}-${tool}.1 \ + ${STAGEDIR}${PREFIX}/share/man/man1/${tool}.1 \ ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/${tool} .endfor .if defined(BUREMOVE) && ${BUREMOVE:Mld} diff --git a/devel/binutils/pkg-plist b/devel/binutils/pkg-plist index eeb7f38341b0..2d9ddd5aaa53 100644 --- a/devel/binutils/pkg-plist +++ b/devel/binutils/pkg-plist @@ -46,21 +46,21 @@ lib/libsframe.a %%SHARED%%lib/libsframe.so %%SHARED%%lib/libsframe.so.0 %%SHARED%%lib/libsframe.so.0.0.0 -man/man1/addr2line.1.gz -man/man1/ar.1.gz -man/man1/as.1.gz -man/man1/c++filt.1.gz -man/man1/elfedit.1.gz -man/man1/gprof.1.gz -man/man1/ld.1.gz -man/man1/nm.1.gz -man/man1/objcopy.1.gz -man/man1/objdump.1.gz -man/man1/ranlib.1.gz -man/man1/readelf.1.gz -man/man1/size.1.gz -man/man1/strings.1.gz -man/man1/strip.1.gz +share/man/man1/addr2line.1.gz +share/man/man1/ar.1.gz +share/man/man1/as.1.gz +share/man/man1/c++filt.1.gz +share/man/man1/elfedit.1.gz +share/man/man1/gprof.1.gz +share/man/man1/ld.1.gz +share/man/man1/nm.1.gz +share/man/man1/objcopy.1.gz +share/man/man1/objdump.1.gz +share/man/man1/ranlib.1.gz +share/man/man1/readelf.1.gz +share/man/man1/size.1.gz +share/man/man1/strings.1.gz +share/man/man1/strip.1.gz %%NLS%%share/locale/bg/LC_MESSAGES/binutils.mo %%NLS%%share/locale/bg/LC_MESSAGES/gprof.mo %%NLS%%share/locale/bg/LC_MESSAGES/ld.mo