pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gcc5-aux



Module Name:    pkgsrc
Committed By:   marino
Date:           Sat Nov 26 16:12:18 UTC 2016

Modified Files:
        pkgsrc/lang/gcc5-aux: Makefile Makefile.version options.mk
        pkgsrc/lang/gcc5-aux/files: diff-core

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/gcc5-aux/Makefile \
    pkgsrc/lang/gcc5-aux/Makefile.version pkgsrc/lang/gcc5-aux/options.mk
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/gcc5-aux/files/diff-core

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/gcc5-aux/Makefile
diff -u pkgsrc/lang/gcc5-aux/Makefile:1.3 pkgsrc/lang/gcc5-aux/Makefile:1.4
--- pkgsrc/lang/gcc5-aux/Makefile:1.3   Sun Aug 28 17:59:36 2016
+++ pkgsrc/lang/gcc5-aux/Makefile       Sat Nov 26 16:12:18 2016
@@ -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 \
Index: pkgsrc/lang/gcc5-aux/Makefile.version
diff -u pkgsrc/lang/gcc5-aux/Makefile.version:1.3 pkgsrc/lang/gcc5-aux/Makefile.version:1.4
--- pkgsrc/lang/gcc5-aux/Makefile.version:1.3   Sun Aug 28 17:59:36 2016
+++ pkgsrc/lang/gcc5-aux/Makefile.version       Sat Nov 26 16:12:18 2016
@@ -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
Index: pkgsrc/lang/gcc5-aux/options.mk
diff -u pkgsrc/lang/gcc5-aux/options.mk:1.3 pkgsrc/lang/gcc5-aux/options.mk:1.4
--- pkgsrc/lang/gcc5-aux/options.mk:1.3 Thu Nov 24 15:43:38 2016
+++ pkgsrc/lang/gcc5-aux/options.mk     Sat Nov 26 16:12:18 2016
@@ -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=-st
 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

Index: pkgsrc/lang/gcc5-aux/files/diff-core
diff -u pkgsrc/lang/gcc5-aux/files/diff-core:1.2 pkgsrc/lang/gcc5-aux/files/diff-core:1.3
--- pkgsrc/lang/gcc5-aux/files/diff-core:1.2    Sun Aug 28 17:59:37 2016
+++ pkgsrc/lang/gcc5-aux/files/diff-core        Sat Nov 26 16:12:18 2016
@@ -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"
  



Home | Main Index | Thread Index | Old Index