summaryrefslogtreecommitdiff
path: root/system/gcc/APKBUILD
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2019-02-27 00:09:47 +0100
committerLuis Ressel <aranea@aixah.de>2019-02-27 00:09:47 +0100
commitf5f65709c453a19c312f4803e3bbf5c1db867d27 (patch)
tree8587d7f99a64ec392355f0615e1d8acefeb05a2f /system/gcc/APKBUILD
parent5b06505c8d39ecec8fd376cf476f5cc86e5a04bf (diff)
downloadpackages-f5f65709c453a19c312f4803e3bbf5c1db867d27.tar.gz
packages-f5f65709c453a19c312f4803e3bbf5c1db867d27.tar.bz2
packages-f5f65709c453a19c312f4803e3bbf5c1db867d27.tar.xz
packages-f5f65709c453a19c312f4803e3bbf5c1db867d27.zip
system/gcc: Use https:// for source URLs
Diffstat (limited to 'system/gcc/APKBUILD')
-rw-r--r--system/gcc/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/gcc/APKBUILD b/system/gcc/APKBUILD
index 0c97d5ef5..7da594e20 100644
--- a/system/gcc/APKBUILD
+++ b/system/gcc/APKBUILD
@@ -1,6 +1,7 @@
# Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org>
pkgname=gcc
pkgver=6.4.0
+_ecjver=4.9
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
@@ -8,7 +9,7 @@ pkgver=6.4.0
pkgname="$pkgname$_target"
pkgrel=10
pkgdesc="The GNU Compiler Collection"
-url="http://gcc.gnu.org"
+url="https://gcc.gnu.org"
arch="all"
license="GPL-3.0+ AND LGPL-2.1+"
_gccrel=$pkgver-r$pkgrel
@@ -142,8 +143,8 @@ if $LANG_ADA; then
fi
makedepends="$makedepends_build $makedepends_host"
-source="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${_pkgbase:-$pkgver}/gcc-${_pkgbase:-$pkgver}.tar.xz
- ftp://sourceware.org/pub/java/ecj-4.9.jar
+source="https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz
+ https://sourceware.org/pub/java/ecj-$_ecjver.jar
001_all_default-ssp-strong.patch
002_all_default-relro.patch
@@ -195,7 +196,7 @@ source="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${_pkgbase:-$pkgver}/gcc-${_pkgba
"
# we build out-of-tree
-_gccdir="$srcdir"/gcc-${_pkgbase:-$pkgver}
+_gccdir="$srcdir"/gcc-$pkgver
_gcclibdir=/usr/lib/gcc/${CTARGET}/$pkgver
_gcclibexec=/usr/libexec/gcc/${CTARGET}/$pkgver