summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-05-10 14:58:55 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-05-12 15:57:47 +0900
commitd1748484e8d919cbd7d13249d9e4f7af981c383e (patch)
tree06f19c11a40955c0fbdc4d838a41b8e4c39e0f25 /ext
parent1d2fc91237ac8639e762a3b36bd0ee066fb80c3e (diff)
extlibs.rb: added variable references
Reduce duplicate parts such as package name and version numbers.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3102
Diffstat (limited to 'ext')
-rw-r--r--ext/fiddle/extlibs7
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/fiddle/extlibs b/ext/fiddle/extlibs
index 1f0c9348e6..2282eabc18 100644
--- a/ext/fiddle/extlibs
+++ b/ext/fiddle/extlibs
@@ -1,5 +1,8 @@
-https://ftp.osuosl.org/pub/blfs/conglomeration/libffi/libffi-3.2.1.tar.gz \
+ver = 3.2.1
+pkg = libffi-$(ver)
+
+https://ftp.osuosl.org/pub/blfs/conglomeration/libffi/$(pkg).tar.gz \
md5:83b89587607e3eb65c70d361f13bab43 \
sha512:980ca30a8d76f963fca722432b1fe5af77d7a4e4d2eac5144fbc5374d4c596609a293440573f4294207e1bdd9fda80ad1e1cafb2ffb543df5a275bc3bd546483 \
#
- win32/libffi-3.2.1-mswin.patch -p0
+ win32/$(pkg)-mswin.patch -p0