diff --git a/dev-util/gyp/gyp-git.recipe b/dev-util/gyp/gyp-git.recipe index 2371e3b0c..9a7786353 100644 --- a/dev-util/gyp/gyp-git.recipe +++ b/dev-util/gyp/gyp-git.recipe @@ -1,13 +1,19 @@ SUMMARY="Generate Your Projects (GYP) is a build automation tool" DESCRIPTION="GYP is created by Google to generate native IDE project files \ (such as Visual Studio and Xcode) for building the Chromium web browser." -HOMEPAGE="https://chromium.googlesource.com/external/gyp/" +HOMEPAGE="https://gyp.gsrc.io/" COPYRIGHT="2012 Google Inc." LICENSE="BSD (2-clause)" -REVISION="1" -SOURCE_URI="https://chromium.googlesource.com/external/gyp/+archive/702ac58e477214c635d9b541932e75a95d349352.tar.gz" -CHECKSUM_SHA256="76464353502cfd09b4350e92b061b61ff77aebdf7267e8217c6b99114958c2cb" -SOURCE_DIR="" +REVISION="2" +# Note that the hash which FreeBSD keeps for this version is not the same as +# the commit ID in the official gyp repository. This revision in the FreeBSD +# mirror is equivalent to commit 02b145a1 in the official repository, which +# cannot be used because the source tarballs it creates are different for each +# request. +freebsdRevision="e679e688ba6db12336b79650c27fcf8a5ed21e60" +SOURCE_URI="http://distcache.freebsd.org/local-distfiles/hrs/gyp-$freebsdRevision.tar.gz" +CHECKSUM_SHA256="51fadf46a7a108b0c8f273fb726b113609d7be5394d286716cbf472d1327d18c" +SOURCE_DIR="gyp-$freebsdRevision" ARCHITECTURES="x86 x86_gcc2 x86_64"