summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2016-11-26 16:12:18 +0000
committermarino <marino@pkgsrc.org>2016-11-26 16:12:18 +0000
commit63152255011f008b0663b4a35b946ab02d060155 (patch)
tree73fffd6764cf1f56d5bc08c46b5bbace49be108d /lang
parent1e08c92a43d08b333c047072f817287befb92d96 (diff)
downloadpkgsrc-63152255011f008b0663b4a35b946ab02d060155.tar.gz
lang/gcc5-aux: fix allstages logic and set gcc-aux paths => gcc5-aux
The disable bootstrap logic was reversed, and there were several references to gcc-aux that needed to change to gcc5-aux.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc5-aux/Makefile16
-rw-r--r--lang/gcc5-aux/Makefile.version4
-rw-r--r--lang/gcc5-aux/files/diff-core2
-rw-r--r--lang/gcc5-aux/options.mk4
4 files changed, 13 insertions, 13 deletions
diff --git a/lang/gcc5-aux/Makefile b/lang/gcc5-aux/Makefile
index ee142406efd..c76efdde554 100644
--- a/lang/gcc5-aux/Makefile
+++ b/lang/gcc5-aux/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2016/08/28 17:59:36 marino Exp $
+# $NetBSD: Makefile,v 1.4 2016/11/26 16:12:18 marino Exp $
#
PKGNAME= gcc5-aux-${SNAPSHOT}
@@ -36,7 +36,7 @@ GARCH= ${MACHINE_ARCH:S/amd64/x86_64/}
BLD_TARGET= ${GARCH}-aux-${LOWER_OPSYS}${OS_VERSION}
OS_LABEL4VERS= [${OPSYS}${GARCH:M*64:S/amd_//:S/x86_//}]
FULL_GNATGCC= NOT SET
-FULL_PATH= /sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/gcc-aux/bin:${PREFIX}/sbin:${PREFIX}/bin
+FULL_PATH= /sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/gcc5-aux/bin:${PREFIX}/sbin:${PREFIX}/bin
.if ${OPSYS} == DragonFly
BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.dragonfly.41.tar.bz2
@@ -131,11 +131,11 @@ PKG_PREFIX= ${PREFIX}/gcc5-aux
BSFILENAME= ada-bootstrap.${GARCH}.${LOWER_OPSYS}.${OS_VERSION:C/[A-Z_.-]//g}.tar
-# testing if gcc-aux is already installed - if so, use this compiler along with
+# testing if gcc5-aux is already installed - if so, use this compiler along with
# its gnatlink, gnatbind, and gnatmake rather than the older bootstrap versions
-.if exists(${LOCALBASE}/gcc-aux/bin/ada)
-FULL_GNATGCC=${LOCALBASE}/gcc-aux/bin/ada
-FULL_GNATGXX=${LOCALBASE}/gcc-aux/bin/g++
+.if exists(${LOCALBASE}/gcc5-aux/bin/ada)
+FULL_GNATGCC=${LOCALBASE}/gcc5-aux/bin/ada
+FULL_GNATGXX=${LOCALBASE}/gcc5-aux/bin/g++
.endif
@@ -231,7 +231,7 @@ post-extract:
${WRKSRC}/gcc/ada/gcc-interface/Makefile.in
. endif
.endif
-.if !exists(${LOCALBASE}/gcc-aux/bin/ada) && ${OPSYS} == SunOS
+.if !exists(${LOCALBASE}/gcc5-aux/bin/ada) && ${OPSYS} == SunOS
# In case /usr/pkg/bin/gas doesn't exist, establish fallback
${LN} -s ${PREFIX}/bin/gas ${BOOTSTRAP_PREFIX}/bin/as
.endif
@@ -239,7 +239,7 @@ post-extract:
# elfdump was present on OmniOS but not in Joyent dev area
${PERL5} -i -pe 's|/usr/ccs/bin|/usr/bin|g;' \
-pe 's|readelf -s|greadelf -s|' ${WRKSRC}/contrib/make_sunver.pl
- # Update LINK_SPEC to add gcc-aux lib runpath in every binary
+ # Update LINK_SPEC to add gcc5-aux lib runpath in every binary
@${ECHO} "Configuring LINK_SPEC runpath"
${PERL5} -pi -e 's;\@PREFIX\@;${PREFIX};' \
${WRKSRC}/gcc/config/dragonfly.h \
diff --git a/lang/gcc5-aux/Makefile.version b/lang/gcc5-aux/Makefile.version
index ae12622cf58..ba4d95c81bb 100644
--- a/lang/gcc5-aux/Makefile.version
+++ b/lang/gcc5-aux/Makefile.version
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.version,v 1.3 2016/08/28 17:59:36 marino Exp $
+# $NetBSD: Makefile.version,v 1.4 2016/11/26 16:12:18 marino Exp $
#
SNAPSHOT= 20160603
@@ -6,7 +6,7 @@ GCC_BRANCH= 5
GCC_POINT= 4.0
GCC_VERSION= ${GCC_BRANCH}.${GCC_POINT}
BUILD_RELEASE= yes
-MAIN_PR= 0
+MAIN_PR= 1
.if ${BUILD_RELEASE:Mno}
# Snapshot naming pattern
diff --git a/lang/gcc5-aux/files/diff-core b/lang/gcc5-aux/files/diff-core
index d06edb2fb54..3fa8286938b 100644
--- a/lang/gcc5-aux/files/diff-core
+++ b/lang/gcc5-aux/files/diff-core
@@ -295,7 +295,7 @@
#undef LINK_SPEC
-#define LINK_SPEC NETBSD_LINK_SPEC_ELF
+#define LINK_SPEC NETBSD_LINK_SPEC_ELF \
-+"%{!static:-rpath @PREFIX@/gcc-aux/lib}"
++"%{!static:-rpath @PREFIX@/gcc5-aux/lib}"
#define NETBSD_ENTRY_POINT "__start"
diff --git a/lang/gcc5-aux/options.mk b/lang/gcc5-aux/options.mk
index d1d78fce58b..e33c0d06780 100644
--- a/lang/gcc5-aux/options.mk
+++ b/lang/gcc5-aux/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2016/11/24 15:43:38 marino Exp $
+# $NetBSD: options.mk,v 1.4 2016/11/26 16:12:18 marino Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gcc5-aux
PKG_SUPPORTED_OPTIONS= fortran objc testsuite static bootstrap allstages
@@ -110,7 +110,7 @@ EXTRA_CONFARGS+= --with-boot-ldflags=-static
EXTRA_CONFARGS+= --with-system-zlib
. endif
.else
-. if !empty(PKG_OPTIONS:Mallstages)
+. if empty(PKG_OPTIONS:Mallstages)
EXTRA_CONFARGS+= --disable-bootstrap
EXTRA_CONFARGS+= --disable-libcc1
. endif