Index: devel/amd64-gcc/pkg-plist =================================================================== --- devel/amd64-gcc/pkg-plist +++ devel/amd64-gcc/pkg-plist @@ -6,6 +6,8 @@ bin/%%GCC_TARGET%%-gcc-ar bin/%%GCC_TARGET%%-gcc-nm bin/%%GCC_TARGET%%-gcc-ranlib +bin/%%GCC_TARGET%%-gcov +bin/%%GCC_TARGET%%-gcov-tool lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_fil.h @@ -489,3 +491,7 @@ libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/lto-wrapper libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/lto1 libexec/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/gengtype +man/man1/%%GCC_TARGET%%-cpp.1.gz +man/man1/%%GCC_TARGET%%-g++.1.gz +man/man1/%%GCC_TARGET%%-gcc.1.gz +man/man1/%%GCC_TARGET%%-gcov.1.gz Index: devel/powerpc64-gcc/Makefile =================================================================== --- devel/powerpc64-gcc/Makefile +++ devel/powerpc64-gcc/Makefile @@ -67,11 +67,21 @@ .endif post-install: - @if [ -f ${STAGEDIR}${PREFIX}/bin/cpp ] ; then \ - mv ${STAGEDIR}${PREFIX}/bin/cpp \ - ${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-cpp ; \ + ls -l ${STAGEDIR}${PREFIX}/bin/ + ls -l ${STAGEDIR}${PREFIX}/man/man1/ +.for f in cpp gcov gcov-tool + if [ -f ${STAGEDIR}${PREFIX}/bin/$f ] ; then \ + ${MV} ${STAGEDIR}${PREFIX}/bin/$f \ + ${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-$f ; \ fi +.endfor .for f in c++ cpp g++ gcc gcc-ar gcc-nm gcc-ranlib gcov gcov-tool + if [ ! -f ${STAGEDIR}${PREFIX}/man/man1/${GCC_TARGET}-$f.1 ] ; then \ + if [ -f ${STAGEDIR}${PREFIX}/man/man1/$f.1 ] ; then \ + ${CP} ${STAGEDIR}${PREFIX}/man/man1/$f.1 \ + ${STAGEDIR}${PREFIX}/man/man1/${GCC_TARGET}-$f.1 ; \ + fi \ + fi @${RM} ${STAGEDIR}${PREFIX}/bin/$f @${RM} ${STAGEDIR}${PREFIX}/man/man1/$f.1 @${RM} ${STAGEDIR}${PREFIX}/man/man1/$f.1.gz