sys-libs/db: add mirror://gentoo to SRC_URI
authorMike Gilbert <floppym@gentoo.org>
Sun, 27 Jan 2019 18:33:31 +0000 (13:33 -0500)
committerMike Gilbert <floppym@gentoo.org>
Sun, 27 Jan 2019 18:33:31 +0000 (13:33 -0500)
Bug: https://bugs.gentoo.org/676374
Package-Manager: Portage-2.3.58, Repoman-2.3.12_p63
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
sys-libs/db/db-18.1.25.ebuild

index ff6f5d1ca7d028fa38281951927cadcb28206cf8..be515fd043e52d46d26881f8089e350798c01166 100644 (file)
@@ -20,9 +20,10 @@ S_BASE="${WORKDIR}/${MY_P}"
 S="${S_BASE}/dist"
 DESCRIPTION="Oracle Berkeley DB"
 HOMEPAGE="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html"
-SRC_URI="http://download.oracle.com/berkeley-db/${MY_P}.tar.gz"
+SRC_URI="https://download.oracle.com/otn/berkeley-db/${MY_P}.tar.gz
+       mirror://gentoo/${MY_P}.tar.gz"
 for (( i=1 ; i<=${PATCHNO} ; i++ )) ; do
-       export SRC_URI="${SRC_URI} http://www.oracle.com/technology/products/berkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i}"
+       SRC_URI+=" http://www.oracle.com/technology/products/berkeley-db/db/update/${MY_PV}/patch.${MY_PV}.${i}"
 done
 
 LICENSE="AGPL-3"