--- Mk/bsd.port.mk +++ Mk/bsd.port.mk @@ -1097,10 +1097,17 @@ IGNORE= CROSS_SYSROOT should be defined HOSTCC:= ${CC} HOSTCXX:= ${CXX} .endif +.if !defined(CC_FOR_BUILD) +CC_FOR_BUILD:= ${HOSTCC} +CXX_FOR_BUILD:= ${HOSTCXX} +.endif +CONFIGURE_ENV+= HOSTCC="${HOSTCC}" HOSTCXX="${HOSTCXX}" CC_FOR_BUILD="${CC_FOR_BUILD}" CXX_FOR_BUILD="${CXX_FOR_BUILD}" + CC= ${XCC} CXX= ${XCXX} CFLAGS+= --sysroot=${CROSS_SYSROOT} -isystem ${CROSS_SYSROOT}/usr/include -CXXFLAGS+= --sysroot=${CROSS_SYSROOT} -isystem ${CROSS_SYSROOT}/usr/include/c++/v1 -nostdinc++ +CXXFLAGS+= --sysroot=${CROSS_SYSROOT} -isystem ${CROSS_SYSROOT}/usr/include -isystem ${CROSS_SYSROOT}/usr/include/c++/v1 -nostdinc++ +CPPFLAGS+= --sysroot=${CROSS_SYSROOT} -isystem ${CROSS_SYSROOT}/usr/include LDFLAGS+= --sysroot=${CROSS_SYSROOT} .for _tool in AS AR LD NM OBJCOPY RANLIB SIZE STRINGS ${_tool}= ${CROSS_BINUTILS_PREFIX}${tool:tl} @@ -2588,7 +2595,7 @@ VALID_CATEGORIES+= accessibility afterstep arabic archivers astro audio \ tcl textproc tk \ ukrainian vietnamese windowmaker wayland www \ x11 x11-clocks x11-drivers x11-fm x11-fonts x11-servers x11-themes \ - x11-toolkits x11-wm xfce zope + x11-toolkits x11-wm xfce zope base check-categories: .for cat in ${CATEGORIES} @@ -2635,7 +2642,7 @@ GNU_CONFIGURE_MANPREFIX?= ${MANPREFIX} CONFIG_SITE?= ${PORTSDIR}/Templates/config.site CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX} $${_LATE_CONFIGURE_ARGS} .if defined(CROSS_TOOLCHAIN) -CROSS_HOST= ${CROSS_TOOLCHAIN:C,-.*$,,}-${OPSYS:tl} +CROSS_HOST= ${CROSS_TOOLCHAIN:C,-.*$,,}-unknown-${OPSYS:tl}${OSREL} CONFIGURE_ARGS+= --host=${CROSS_HOST} .endif CONFIGURE_ENV+= CONFIG_SITE=${CONFIG_SITE} lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN} --- base/binutils/Makefile +++ base/binutils/Makefile @@ -2,12 +2,12 @@ PORTEPOCH= 0 CATEGORIES= base -PKGNAMEPREFIX= ${OPSYS}- +PKGNAMEPREFIX= ${OPSYS:tl}- VALID_CATEGORIES= base COMMENT= GNU binary tools for base -MASTERDIR= ${.CURDIR}/../..//devel/binutils +MASTERDIR= ${.CURDIR}/../../devel/binutils PLIST= ${.CURDIR}/pkg-plist.${TARGET_ARCH} .if !defined(CROSS_TOOLCHAIN) --- base/gcc/Makefile +++ base/gcc/Makefile @@ -1,15 +1,16 @@ # $FreeBSD$ PORTNAME= gcc -PORTVERSION= 5.4.0 -CATEGORIES= devel +PORTVERSION= 6.3.0 +CATEGORIES= base MASTER_SITES= GCC/releases/gcc-${DISTVERSION} \ + http://www.mpfr.org/mpfr-3.1.6/:mpfr \ http://www.mpfr.org/mpfr-current/:mpfr \ GNU/gmp:gmp \ - http://www.multiprecision.org/mpc/download/:mpc + https://ftp.gnu.org/gnu/mpc/:mpc DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ - mpfr-3.1.4.tar.xz:mpfr \ - gmp-5.1.3.tar.xz:gmp \ + mpfr-3.1.6.tar.xz:mpfr \ + gmp-6.1.2.tar.xz:gmp \ mpc-1.0.3.tar.gz:mpc PKGNAMEPREFIX= ${OPSYS:tl}- @@ -28,9 +29,11 @@ LICENSE_COMB= multi .endif PREFIX= /usr -CONFIGURE_ENV= gcc_gxx_include_dir="/usr/include/c++/v1" +CONFIGURE_ENV= gcc_gxx_include_dir="/usr/include/c++/v1" \ + NM=/usr/bin/nm NM_FOR_TARGET=/usr/bin/nm TARGET_ARCH= ${CROSS_TOOLCHAIN:C,-.*$,,} -GCC_TARGET= ${TARGET_ARCH}-portbld-${OPSYS:tl}${OSREL} +GCC_TARGET= ${TARGET_ARCH}-unknown-${OPSYS:tl}${OSREL} + USES= gmake libtool tar:bzip2 makeinfo PLIST_SUB= TARGETARCH=${TARGET_ARCH} \ @@ -43,9 +46,13 @@ EXTRA_PATCHES+= ${.CURDIR}/../../devel/powerpc64-gcc/files/freebsd-format-extens GNU_CONFIGURE= yes CONFIGURE_OUTSOURCE= yes -CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls \ +CONFIGURE_ARGS+= \ + --target=${GCC_TARGET} \ --enable-languages=c,c++ \ + --disable-nls \ --without-headers \ + --with-ld=/usr/bin/ld \ + --with-as=/usr/bin/as \ --with-build-sysroot=${CROSS_SYSROOT} \ -with-pkgversion="GNU Collection for FreeBSD" @@ -53,8 +60,8 @@ ALL_TARGET?= all-gcc INSTALL_TARGET?= install-gcc post-extract: - cd ${WRKSRC}; ${LN} -sf ../mpfr-3.1.4 mpfr ; \ - ${LN} -sf ../gmp-5.1.3 gmp ; \ + cd ${WRKSRC}; ${LN} -sf ../mpfr-3.1.6 mpfr ; \ + ${LN} -sf ../gmp-6.1.2 gmp ; \ ${LN} -sf ../mpc-1.0.3 mpc post-patch: @@ -62,8 +69,12 @@ post-patch: ${WRKSRC}//gcc/cp/g++spec.c post-install: + ${MV} ${STAGEDIR}/usr/bin/gcov-tool ${STAGEDIR}/usr/bin/${GCC_TARGET}-gcov-tool ; \ for tool in cpp gcc g++ gcov; do \ + ${MV} ${STAGEDIR}/usr/bin/$${tool} ${STAGEDIR}/usr/bin/${GCC_TARGET}-$${tool} ; \ ${LN} -sf ${GCC_TARGET}-$${tool} ${STAGEDIR}/usr/bin/$${tool} ; \ + ${MV} ${STAGEDIR}/${MANDIR}1/$${tool}.1 ${STAGEDIR}/${MANDIR}1/${GCC_TARGET}-$${tool}.1 ; \ + ${GZIP_CMD} ${STAGEDIR}/${MANDIR}1/${GCC_TARGET}-$${tool}.1 ; \ ${LN} -sf ${GCC_TARGET}-$${tool}.1.gz ${STAGEDIR}/${MANDIR}1/$${tool}.1.gz ; \ done ; \ ${LN} -sf ${GCC_TARGET}-g++ ${STAGEDIR}/usr/bin/c++ ; \ --- base/gcc/distinfo +++ base/gcc/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1472596046 -SHA256 (gcc-5.4.0.tar.bz2) = 608df76dec2d34de6558249d8af4cbee21eceddbcb580d666f7a5a583ca3303a -SIZE (gcc-5.4.0.tar.bz2) = 95661481 -SHA256 (mpfr-3.1.4.tar.xz) = 761413b16d749c53e2bfd2b1dfaa3b027b0e793e404b90b5fbaeef60af6517f5 -SIZE (mpfr-3.1.4.tar.xz) = 1122152 -SHA256 (gmp-5.1.3.tar.xz) = dee2eda37f4ff541f30019932db0c37f6f77a30ba3609234933b1818f9b07071 -SIZE (gmp-5.1.3.tar.xz) = 1818812 +TIMESTAMP = 1508105556 +SHA256 (gcc-6.3.0.tar.bz2) = f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f +SIZE (gcc-6.3.0.tar.bz2) = 99903185 +SHA256 (mpfr-3.1.6.tar.xz) = 7a62ac1a04408614fccdc506e4844b10cf0ad2c2b1677097f8f35d3a1344a950 +SIZE (mpfr-3.1.6.tar.xz) = 1133672 +SHA256 (gmp-6.1.2.tar.xz) = 87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912 +SIZE (gmp-6.1.2.tar.xz) = 1946336 SHA256 (mpc-1.0.3.tar.gz) = 617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3 SIZE (mpc-1.0.3.tar.gz) = 669925 --- /dev/null +++ base/gcc/files/patch-Makefile.in @@ -0,0 +1,72 @@ +--- Makefile.in.orig 2016-04-13 11:02:08.000000000 -0700 ++++ Makefile.in 2017-12-08 14:01:46.149339000 -0800 +@@ -2784,7 +2784,8 @@ + esac; \ + module_srcdir=libiberty; \ + rm -f no-such-file || : ; \ +- CONFIG_SITE=no-such-file $(SHELL) \ ++ CONFIG_SITE=no-such-file CFLAGS="${HOST_CFLAGS}" \ ++ CPPFLAGS="${HOST_CPPFLAGS}" CXXFLAGS="${HOST_CXXFLAGS}" $(SHELL) \ + $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ +@@ -2841,7 +2842,8 @@ + esac; \ + module_srcdir=bison; \ + rm -f no-such-file || : ; \ +- CONFIG_SITE=no-such-file $(SHELL) \ ++ CONFIG_SITE=no-such-file CFLAGS="${HOST_CFLAGS}" \ ++ CPPFLAGS="${HOST_CPPFLAGS}" CXXFLAGS="${HOST_CXXFLAGS}" $(SHELL) \ + $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ +@@ -2898,7 +2900,8 @@ + esac; \ + module_srcdir=flex; \ + rm -f no-such-file || : ; \ +- CONFIG_SITE=no-such-file $(SHELL) \ ++ CONFIG_SITE=no-such-file CFLAGS="${HOST_CFLAGS}" \ ++ CPPFLAGS="${HOST_CPPFLAGS}" CXXFLAGS="${HOST_CXXFLAGS}" $(SHELL) \ + $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ +@@ -2955,7 +2958,8 @@ + esac; \ + module_srcdir=m4; \ + rm -f no-such-file || : ; \ +- CONFIG_SITE=no-such-file $(SHELL) \ ++ CONFIG_SITE=no-such-file CFLAGS="${HOST_CFLAGS}" \ ++ CPPFLAGS="${HOST_CPPFLAGS}" CXXFLAGS="${HOST_CXXFLAGS}" $(SHELL) \ + $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ +@@ -3012,7 +3016,8 @@ + esac; \ + module_srcdir=texinfo; \ + rm -f no-such-file || : ; \ +- CONFIG_SITE=no-such-file $(SHELL) \ ++ CONFIG_SITE=no-such-file CFLAGS="${HOST_CFLAGS}" \ ++ CPPFLAGS="${HOST_CPPFLAGS}" CXXFLAGS="${HOST_CXXFLAGS}" $(SHELL) \ + $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ +@@ -3069,7 +3074,8 @@ + esac; \ + module_srcdir=fixincludes; \ + rm -f no-such-file || : ; \ +- CONFIG_SITE=no-such-file $(SHELL) \ ++ CONFIG_SITE=no-such-file CFLAGS="${HOST_CFLAGS}" \ ++ CPPFLAGS="${HOST_CPPFLAGS}" CXXFLAGS="${HOST_CXXFLAGS}" $(SHELL) \ + $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ +@@ -3126,7 +3132,8 @@ + esac; \ + module_srcdir=libcpp; \ + rm -f no-such-file || : ; \ +- CONFIG_SITE=no-such-file $(SHELL) \ ++ CONFIG_SITE=no-such-file CFLAGS="${HOST_CFLAGS}" \ ++ CPPFLAGS="${HOST_CPPFLAGS}" CXXFLAGS="${HOST_CXXFLAGS}" $(SHELL) \ + $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ --- /dev/null +++ base/gcc/files/patch-gcc-Makefile.in @@ -0,0 +1,11 @@ +--- gcc/Makefile.in.orig 2017-12-09 14:33:56.283411000 -0800 ++++ gcc/Makefile.in 2017-12-09 14:34:16.979742000 -0800 +@@ -779,7 +779,7 @@ + BUILD_NO_PIE_FLAG = @BUILD_NO_PIE_FLAG@ + BUILD_LDFLAGS += $(BUILD_NO_PIE_FLAG) + BUILD_CPPFLAGS= -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \ +- -I$(srcdir)/../include @INCINTL@ $(CPPINC) $(CPPFLAGS) ++ -I$(srcdir)/../include @INCINTL@ $(CPPINC) $(CPPFLAGS_FOR_BUILD) + + # Actual name to use when installing a native compiler. + GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)') --- /dev/null +++ base/gcc/files/patch-gcc-configure @@ -0,0 +1,11 @@ +--- gcc/configure.orig 2017-12-09 14:33:36.570113000 -0800 ++++ gcc/configure 2017-12-09 14:33:50.647310000 -0800 +@@ -11803,7 +11803,7 @@ + CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \ + CXX="${CXX_FOR_BUILD}" CXXFLAGS="${CXXFLAGS_FOR_BUILD}" \ + LD="${LD_FOR_BUILD}" LDFLAGS="${LDFLAGS_FOR_BUILD}" \ +- GMPINC="" CPPFLAGS="${CPPFLAGS} -DGENERATOR_FILE" \ ++ GMPINC="" CPPFLAGS="${CPPFLAGS_FOR_BUILD} -DGENERATOR_FILE" \ + ${realsrcdir}/configure \ + --enable-languages=${enable_languages-all} \ + --target=$target_alias --host=$build_alias --build=$build_alias --- base/gcc/pkg-plist +++ base/gcc/pkg-plist @@ -15,6 +15,7 @@ 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/libmilter/mfapi.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_fil.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_lookup.h @@ -29,8 +30,17 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/sys/types.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/unistd.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/wchar.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/altivec.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/float.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/htmintrin.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/htmxlintrin.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/iso646.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/paired.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/ppc-asm.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/ppu_intrinsics.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/si2vmx.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/spe.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/spu2vmx.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdalign.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdarg.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdatomic.h @@ -42,7 +52,7 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdint.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/stdnoreturn.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/tgmath.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/varargs.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/visintrin.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include/vec_types.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/fixinc_list lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/gsyslimits.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/install-tools/include/README @@ -61,6 +71,7 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/attribs.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/auto-host.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/auto-profile.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/b-header-vars +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/backend.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/basic-block.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/bb-reorder.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/bitmap.h @@ -104,12 +115,15 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/%%OPSYS%%-spec.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/%%OPSYS%%-stdint.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/%%OPSYS%%.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/initfini-array.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/%%OPSYS%%.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc-opts.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc-protos.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sparc.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/sparc/sysv4.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/vxworks-dummy.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/default64.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/%%OPSYS%%64.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/option-defaults.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6000-builtin.def +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6000-cpus.def +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6000-opts.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6000-protos.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/rs6000.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/config/rs6000/sysv4.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/configargs.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/context.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/convert.h @@ -158,9 +172,11 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/filenames.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/fixed-value.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/flag-types.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/flags.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/fold-const-call.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/fold-const.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/function.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gcc-plugin.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gcc-rich-location.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gcc-symtab.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gcc.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gcov-counter.def @@ -179,6 +195,7 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gimple-fold.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gimple-iterator.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gimple-low.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gimple-match.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gimple-predict.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gimple-pretty-print.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gimple-ssa.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gimple-streamer.h @@ -190,10 +207,7 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gimplify.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/glimits.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/graph.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/graphds.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/graphite-isl-ast-to-gimple.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/graphite-poly.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/graphite-scop-detection.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/graphite-sese-to-poly.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/graphite.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gsstruct.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gstab.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gsyms.h @@ -201,14 +215,18 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gsyslimits.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gtm-builtins.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/gtype-desc.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hard-reg-set.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hash-map-traits.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hash-map.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hash-set.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hash-table.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hash-traits.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hashtab.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/highlev-plugin-common.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hooks.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hosthooks-def.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hosthooks.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hsa-brig-format.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hsa.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hw-doloop.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/hwint.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/ifcvt.h @@ -254,20 +272,28 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/lto-streamer.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/machmode.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/machmode.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/md5.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/mem-stats-traits.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/mem-stats.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/memory-block.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/mode-classes.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/objc/objc-tree.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/obstack.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/omega.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/omp-builtins.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/omp-low.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/optabs-libfuncs.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/optabs-query.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/optabs-tree.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/optabs.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/optabs.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/options.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/opts-diagnostic.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/opts.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/output.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/params-enum.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/params-list.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/params.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/params.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/params.list lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/pass-instances.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/pass_manager.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/passes.def @@ -312,9 +338,11 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/sese.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/shrink-wrap.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/signop.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/sparseset.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/spellcheck.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/splay-tree.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/sreal.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/ssa-iterators.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/ssa.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/stab.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/statistics.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/stmt.h @@ -328,6 +356,7 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/system.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/target-def.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/target-globals.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/target-hooks-macros.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/target-insns.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/target.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/target.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/targhooks.h @@ -337,9 +366,9 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tm-preds.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tm.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tm_p.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/toplev.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tracer.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/trans-mem.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-affine.h -lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-browser.def lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-cfg.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-cfgcleanup.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-check.h @@ -351,6 +380,7 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-dfa.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-diagnostic.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-dump.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-eh.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-hash-traits.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-hasher.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-inline.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-into-ssa.h @@ -375,7 +405,9 @@ lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-ssa-loop.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-ssa-operands.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-ssa-propagate.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-ssa-sccvn.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-ssa-scopedtables.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-ssa-ter.h +lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-ssa-threadbackward.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-ssa-threadedge.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-ssa-threadupdate.h lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/tree-ssa.h --- devel/binutils/Makefile +++ devel/binutils/Makefile @@ -36,7 +36,7 @@ CPE_VENDOR= gnu GNU_CONFIGURE= yes .if defined(PKGNAMEPREFIX) -BUTARGET?= ${PKGNAMEPREFIX}${OPSYS:tl} +BUTARGET?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL} OPTIONS_EXCLUDE= NLS INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/info CONFIGURE_ARGS+= --disable-shared \ --- devel/powerpc64-binutils/pkg-plist +++ devel/powerpc64-binutils/pkg-plist @@ -1,98 +1,98 @@ -bin/powerpc64-freebsd-addr2line -bin/powerpc64-freebsd-ar -bin/powerpc64-freebsd-as -bin/powerpc64-freebsd-c++filt -bin/powerpc64-freebsd-elfedit -bin/powerpc64-freebsd-gprof -bin/powerpc64-freebsd-ld -bin/powerpc64-freebsd-ld.bfd -bin/powerpc64-freebsd-nm -bin/powerpc64-freebsd-objcopy -bin/powerpc64-freebsd-objdump -bin/powerpc64-freebsd-ranlib -bin/powerpc64-freebsd-readelf -bin/powerpc64-freebsd-size -bin/powerpc64-freebsd-strings -bin/powerpc64-freebsd-strip -man/man1/powerpc64-freebsd-addr2line.1.gz -man/man1/powerpc64-freebsd-ar.1.gz -man/man1/powerpc64-freebsd-as.1.gz -man/man1/powerpc64-freebsd-c++filt.1.gz -man/man1/powerpc64-freebsd-dlltool.1.gz -man/man1/powerpc64-freebsd-elfedit.1.gz -man/man1/powerpc64-freebsd-gprof.1.gz -man/man1/powerpc64-freebsd-ld.1.gz -man/man1/powerpc64-freebsd-nlmconv.1.gz -man/man1/powerpc64-freebsd-nm.1.gz -man/man1/powerpc64-freebsd-objcopy.1.gz -man/man1/powerpc64-freebsd-objdump.1.gz -man/man1/powerpc64-freebsd-ranlib.1.gz -man/man1/powerpc64-freebsd-readelf.1.gz -man/man1/powerpc64-freebsd-size.1.gz -man/man1/powerpc64-freebsd-strings.1.gz -man/man1/powerpc64-freebsd-strip.1.gz -man/man1/powerpc64-freebsd-windmc.1.gz -man/man1/powerpc64-freebsd-windres.1.gz -powerpc64-freebsd/bin/ar -powerpc64-freebsd/bin/as -powerpc64-freebsd/bin/ld -powerpc64-freebsd/bin/ld.bfd -powerpc64-freebsd/bin/nm -powerpc64-freebsd/bin/objcopy -powerpc64-freebsd/bin/objdump -powerpc64-freebsd/bin/ranlib -powerpc64-freebsd/bin/readelf -powerpc64-freebsd/bin/strip -powerpc64-freebsd/bin/size -powerpc64-freebsd/lib/ldscripts/elf32ppc.x -powerpc64-freebsd/lib/ldscripts/elf32ppc.xbn -powerpc64-freebsd/lib/ldscripts/elf32ppc.xc -powerpc64-freebsd/lib/ldscripts/elf32ppc.xd -powerpc64-freebsd/lib/ldscripts/elf32ppc.xdc -powerpc64-freebsd/lib/ldscripts/elf32ppc.xdw -powerpc64-freebsd/lib/ldscripts/elf32ppc.xn -powerpc64-freebsd/lib/ldscripts/elf32ppc.xr -powerpc64-freebsd/lib/ldscripts/elf32ppc.xs -powerpc64-freebsd/lib/ldscripts/elf32ppc.xsc -powerpc64-freebsd/lib/ldscripts/elf32ppc.xsw -powerpc64-freebsd/lib/ldscripts/elf32ppc.xu -powerpc64-freebsd/lib/ldscripts/elf32ppc.xw -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.x -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xbn -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xc -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xd -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xdc -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xdw -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xn -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xr -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xs -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xsc -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xsw -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xu -powerpc64-freebsd/lib/ldscripts/elf32ppc_fbsd.xw -powerpc64-freebsd/lib/ldscripts/elf64ppc.x -powerpc64-freebsd/lib/ldscripts/elf64ppc.xbn -powerpc64-freebsd/lib/ldscripts/elf64ppc.xc -powerpc64-freebsd/lib/ldscripts/elf64ppc.xd -powerpc64-freebsd/lib/ldscripts/elf64ppc.xdc -powerpc64-freebsd/lib/ldscripts/elf64ppc.xdw -powerpc64-freebsd/lib/ldscripts/elf64ppc.xn -powerpc64-freebsd/lib/ldscripts/elf64ppc.xr -powerpc64-freebsd/lib/ldscripts/elf64ppc.xs -powerpc64-freebsd/lib/ldscripts/elf64ppc.xsc -powerpc64-freebsd/lib/ldscripts/elf64ppc.xsw -powerpc64-freebsd/lib/ldscripts/elf64ppc.xu -powerpc64-freebsd/lib/ldscripts/elf64ppc.xw -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.x -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xbn -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xc -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xd -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xdc -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xdw -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xn -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xr -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xs -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xsc -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xsw -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xu -powerpc64-freebsd/lib/ldscripts/elf64ppc_fbsd.xw +bin/powerpc64-unknown-freebsd12.0-addr2line +bin/powerpc64-unknown-freebsd12.0-ar +bin/powerpc64-unknown-freebsd12.0-as +bin/powerpc64-unknown-freebsd12.0-c++filt +bin/powerpc64-unknown-freebsd12.0-elfedit +bin/powerpc64-unknown-freebsd12.0-gprof +bin/powerpc64-unknown-freebsd12.0-ld +bin/powerpc64-unknown-freebsd12.0-ld.bfd +bin/powerpc64-unknown-freebsd12.0-nm +bin/powerpc64-unknown-freebsd12.0-objcopy +bin/powerpc64-unknown-freebsd12.0-objdump +bin/powerpc64-unknown-freebsd12.0-ranlib +bin/powerpc64-unknown-freebsd12.0-readelf +bin/powerpc64-unknown-freebsd12.0-size +bin/powerpc64-unknown-freebsd12.0-strings +bin/powerpc64-unknown-freebsd12.0-strip +man/man1/powerpc64-unknown-freebsd12.0-addr2line.1.gz +man/man1/powerpc64-unknown-freebsd12.0-ar.1.gz +man/man1/powerpc64-unknown-freebsd12.0-as.1.gz +man/man1/powerpc64-unknown-freebsd12.0-c++filt.1.gz +man/man1/powerpc64-unknown-freebsd12.0-dlltool.1.gz +man/man1/powerpc64-unknown-freebsd12.0-elfedit.1.gz +man/man1/powerpc64-unknown-freebsd12.0-gprof.1.gz +man/man1/powerpc64-unknown-freebsd12.0-ld.1.gz +man/man1/powerpc64-unknown-freebsd12.0-nlmconv.1.gz +man/man1/powerpc64-unknown-freebsd12.0-nm.1.gz +man/man1/powerpc64-unknown-freebsd12.0-objcopy.1.gz +man/man1/powerpc64-unknown-freebsd12.0-objdump.1.gz +man/man1/powerpc64-unknown-freebsd12.0-ranlib.1.gz +man/man1/powerpc64-unknown-freebsd12.0-readelf.1.gz +man/man1/powerpc64-unknown-freebsd12.0-size.1.gz +man/man1/powerpc64-unknown-freebsd12.0-strings.1.gz +man/man1/powerpc64-unknown-freebsd12.0-strip.1.gz +man/man1/powerpc64-unknown-freebsd12.0-windmc.1.gz +man/man1/powerpc64-unknown-freebsd12.0-windres.1.gz +powerpc64-unknown-freebsd12.0/bin/ar +powerpc64-unknown-freebsd12.0/bin/as +powerpc64-unknown-freebsd12.0/bin/ld +powerpc64-unknown-freebsd12.0/bin/ld.bfd +powerpc64-unknown-freebsd12.0/bin/nm +powerpc64-unknown-freebsd12.0/bin/objcopy +powerpc64-unknown-freebsd12.0/bin/objdump +powerpc64-unknown-freebsd12.0/bin/ranlib +powerpc64-unknown-freebsd12.0/bin/readelf +powerpc64-unknown-freebsd12.0/bin/strip +powerpc64-unknown-freebsd12.0/bin/size +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.x +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xbn +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xd +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xdc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xdw +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xn +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xr +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xs +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xsc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xsw +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xu +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc.xw +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.x +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xbn +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xd +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xdc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xdw +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xn +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xr +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xs +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xsc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xsw +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xu +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf32ppc_fbsd.xw +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.x +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xbn +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xd +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xdc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xdw +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xn +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xr +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xs +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xsc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xsw +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xu +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc.xw +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.x +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xbn +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xd +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xdc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xdw +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xn +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xr +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xs +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xsc +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xsw +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xu +powerpc64-unknown-freebsd12.0/lib/ldscripts/elf64ppc_fbsd.xw --- devel/powerpc64-gcc/Makefile +++ devel/powerpc64-gcc/Makefile @@ -29,7 +29,7 @@ PLIST_SUB= TARGETARCH=${PKGNAMEPREFIX:C/-//g} \ .if empty(GCC_TARGET) # We are building for a FreeBSD target GCC_TARGET?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL} -BU_PREFIX?= ${PKGNAMEPREFIX}${OPSYS:tl} +BU_PREFIX?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL} EXTRA_PATCHES+= ${FILESDIR}/freebsd-format-extensions .else BU_PREFIX?= ${GCC_TARGET} --- devel/powerpc64-xtoolchain-gcc/Makefile +++ devel/powerpc64-xtoolchain-gcc/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= xtoolchain -PORTVERSION= 0.2 +PORTVERSION= 0.3 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none @@ -28,6 +28,7 @@ RUN_DEPENDS?= ${XCC}:devel/${PKGNAMEPREFIX}${X_COMPILER_TYPE} SUB_FILES= xtoolchain.mk SUB_LIST= TARGETARCH=${TOOLCHAIN_PREFIX:C/-//g} \ OPSYS=${OPSYS:tl} \ + OSREL=${OSREL} \ XCC=${XCC} \ XCXX=${XCXX} \ XCPP=${XCPP} \ --- devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in +++ devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in @@ -1,5 +1,5 @@ XCC=%%LOCALBASE%%/bin/%%XCC%% XCXX=%%LOCALBASE%%/bin/%%XCXX%% XCPP=%%LOCALBASE%%/bin/%%XCPP%% -CROSS_BINUTILS_PREFIX=%%LOCALBASE%%/%%TARGETARCH%%-%%OPSYS%%/bin/ +CROSS_BINUTILS_PREFIX=%%LOCALBASE%%/%%TARGETARCH%%-unknown-%%OPSYS%%%%OSREL%%/bin/ X_COMPILER_TYPE=%%X_COMPILER_TYPE%% --- ports-mgmt/pkg/Makefile +++ ports-mgmt/pkg/Makefile @@ -70,7 +70,12 @@ pre-everything:: #define PKG_DEPENDS to nothing to avoid infinite loop looking for pkg :) PKG_DEPENDS= .undef INSTALLS_DEPENDS + +# Use the internal pkg instead, generally, unless this is a cross-build, +# in which case that won't work. Hope for the best then. +.if !defined(CROSS_TOOLCHAIN) PKG_BIN= ${WRKSRC}/src/pkg-static +.endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR}