git: 09bb83b5305d - main - devel/freebsd-gcc12: Moved man to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Jan 2024 13:39:46 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=09bb83b5305d041938ed1d33477364c93ea0b83d commit 09bb83b5305d041938ed1d33477364c93ea0b83d Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-28 01:34:28 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-28 13:39:24 +0000 devel/freebsd-gcc12: Moved man to share/man Approved by: portmgr (blanket) --- devel/freebsd-gcc12/Makefile | 4 +++- devel/freebsd-gcc12/pkg-plist | 14 +++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/devel/freebsd-gcc12/Makefile b/devel/freebsd-gcc12/Makefile index 989b042c98b2..1de4cce9c92f 100644 --- a/devel/freebsd-gcc12/Makefile +++ b/devel/freebsd-gcc12/Makefile @@ -1,5 +1,6 @@ PORTNAME= gcc DISTVERSION= 12.3.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GCC PKGNAMEPREFIX= ${TARGETARCH}- @@ -39,6 +40,7 @@ SUB_LIST= BU_PREFIX=${BU_PREFIX} \ SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_OUTSOURCE= yes CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \ --enable-gnu-indirect-function \ @@ -117,7 +119,7 @@ PLIST+= ${.CURDIR}/pkg-plist.i386 post-install: ${RM} ${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-${GCC_TARGET}-* ${RM} ${STAGEDIR}${PREFIX}/share/info/* - ${RM} ${STAGEDIR}${PREFIX}/man/man7/* + ${RM} ${STAGEDIR}${PREFIX}/share/man/man7/* ${RM} -r ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed .if ${TARGETARCH} == "amd64" || ${TARGETARCH} == "i386" # Conflicts with sys/x86/include/float.h diff --git a/devel/freebsd-gcc12/pkg-plist b/devel/freebsd-gcc12/pkg-plist index f1074c1b192e..8dab02f8dc75 100644 --- a/devel/freebsd-gcc12/pkg-plist +++ b/devel/freebsd-gcc12/pkg-plist @@ -489,11 +489,11 @@ libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/liblto_plugin.so libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/lto-wrapper libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/lto1 %%PLUGINS%%libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/gengtype -man/man1/%%GCC_TARGET%%-cpp%%SUFFIX%%.1.gz -man/man1/%%GCC_TARGET%%-g++%%SUFFIX%%.1.gz -man/man1/%%GCC_TARGET%%-gcc%%SUFFIX%%.1.gz -man/man1/%%GCC_TARGET%%-gcov%%SUFFIX%%.1.gz -man/man1/%%GCC_TARGET%%-gcov-dump%%SUFFIX%%.1.gz -man/man1/%%GCC_TARGET%%-gcov-tool%%SUFFIX%%.1.gz -man/man1/%%GCC_TARGET%%-lto-dump%%SUFFIX%%.1.gz +share/man/man1/%%GCC_TARGET%%-cpp%%SUFFIX%%.1.gz +share/man/man1/%%GCC_TARGET%%-g++%%SUFFIX%%.1.gz +share/man/man1/%%GCC_TARGET%%-gcc%%SUFFIX%%.1.gz +share/man/man1/%%GCC_TARGET%%-gcov%%SUFFIX%%.1.gz +share/man/man1/%%GCC_TARGET%%-gcov-dump%%SUFFIX%%.1.gz +share/man/man1/%%GCC_TARGET%%-gcov-tool%%SUFFIX%%.1.gz +share/man/man1/%%GCC_TARGET%%-lto-dump%%SUFFIX%%.1.gz share/toolchains/%%TARGETARCH%%-gcc%%SUFFIX%%.mk