diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-04-29 02:44:04 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-04-29 02:44:04 +0800 |
commit | a473097cd9ecbfd932d8af3d57148839382f88a6 (patch) | |
tree | 2b59a6775d67f0b251944f26266df4b96cde831b /math/openblas | |
parent | af12d2a8888352af367d4fc7353318911515fd0b (diff) | |
download | freebsd-ports-gnome-a473097cd9ecbfd932d8af3d57148839382f88a6.tar.gz freebsd-ports-gnome-a473097cd9ecbfd932d8af3d57148839382f88a6.tar.zst freebsd-ports-gnome-a473097cd9ecbfd932d8af3d57148839382f88a6.zip |
USE_GITHUB: For the new support, fix DISTNAME to be more consistent.
When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.
Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.
empty() is used rather than (!defined || !${}) to support fmake.
The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.
PR: 199069
With hat: portmgr
Testing done: All USE_GITHUB ports without GH_COMMIT were checksum/fetch/extract/WRKSRC tested.
Diffstat (limited to 'math/openblas')
-rw-r--r-- | math/openblas/distinfo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/openblas/distinfo b/math/openblas/distinfo index e0c3a1090597..0eaa9bb64718 100644 --- a/math/openblas/distinfo +++ b/math/openblas/distinfo @@ -1,5 +1,5 @@ -SHA256 (openblas/openblas-v0.2.14_GH0.tar.gz) = 2411c4f56f477b42dff54db2b7ffc0b7cf53bb9778d54982595c64cc69c40fc1 -SIZE (openblas/openblas-v0.2.14_GH0.tar.gz) = 9858070 +SHA256 (openblas/xianyi-OpenBLAS-v0.2.14_GH0.tar.gz) = 2411c4f56f477b42dff54db2b7ffc0b7cf53bb9778d54982595c64cc69c40fc1 +SIZE (openblas/xianyi-OpenBLAS-v0.2.14_GH0.tar.gz) = 9858070 SHA256 (openblas/large.tgz) = f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1 SIZE (openblas/large.tgz) = 2595 SHA256 (openblas/timing.tgz) = 999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af |