summaryrefslogtreecommitdiffstats
path: root/src/gc.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-11-09 06:10:16 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-11-09 06:10:16 (GMT)
commit1cb70e441afbf8085e81d834d5b82d8bb57de91b (patch)
tree9be7e26b5b2d7a356bf541a2dbf80adb21efbe0b /src/gc.mk
parent012726c9c79466c62964d064bf5eb698324f755f (diff)
downloadmxe-1cb70e441afbf8085e81d834d5b82d8bb57de91b.zip
mxe-1cb70e441afbf8085e81d834d5b82d8bb57de91b.tar.gz
mxe-1cb70e441afbf8085e81d834d5b82d8bb57de91b.tar.bz2
gc: use GH_CONF and downgrade 7.6.0 to 7.4.6
7.6.0 is actually a pre-release and shouldn't have been updated Fixes #1967
Diffstat (limited to 'src/gc.mk')
-rw-r--r--src/gc.mk19
1 files changed, 5 insertions, 14 deletions
diff --git a/src/gc.mk b/src/gc.mk
index 6dd6892..aee89d0 100644
--- a/src/gc.mk
+++ b/src/gc.mk
@@ -1,24 +1,15 @@
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := gc
-$(PKG)_WEBSITE := http://www.hpl.hp.com/personal/Hans_Boehm/gc/
+$(PKG)_WEBSITE := https://github.com/ivmai/bdwgc
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 7.6.0
-$(PKG)_CHECKSUM := a14a28b1129be90e55cd6f71127ffc5594e1091d5d54131528c24cd0c03b7d90
+$(PKG)_VERSION := 7.4.6
+$(PKG)_CHECKSUM := 8c9b91cc2facc7d0ec3829fe9ab29179c1879adafecb4474a827aa2a18596533
+$(PKG)_GH_CONF := ivmai/bdwgc/releases/latest,v
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
-$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL := https://hboehm.info/$(PKG)/$(PKG)_source/$($(PKG)_FILE)
+$(PKG)_URL := https://github.com/ivmai/bdwgc/releases/download/v$($(PKG)_VERSION)/$($(PKG)_SUBDIR).tar.gz
$(PKG)_DEPS := gcc libatomic_ops
-define $(PKG)_UPDATE
- $(WGET) -q -O- 'https://hboehm.info/gc/gc_source/' | \
- grep '<a href="gc-' | \
- $(SED) -n 's,.*<a href="gc-\([0-9][^"]*\)\.tar.*,\1,p' | \
- grep -v 'alpha' | \
- $(SORT) -Vr | \
- head -1
-endef
-
define $(PKG)_BUILD
# build and install the library
cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \