#2 ccache makefile patch - bad URL

Closed
opened 6 years ago by infrared · 1 comments
infrared commented 6 years ago

Hello, thank you for your great distribution! On my system I was building 1.3.4 from ThinkPenguin source CD (including SDK), and I had to tweak the following Makefile to fix a broken build. There is no http download available, only https, and the download program does not try https automatically:

diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile
index 2dbf03c..22c6af5 100644
--- a/tools/ccache/Makefile
+++ b/tools/ccache/Makefile
@@ -11,7 +11,7 @@ PKG_NAME:=ccache
 PKG_VERSION:=3.3.2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=http://samba.org/ftp/ccache/
+PKG_SOURCE_URL:=https://samba.org/ftp/ccache/
 PKG_MD5SUM:=2767d8f88f5ec218983a2f05c9e20df2
 
 include $(INCLUDE_DIR)/host-build.mk

Incidentally, the download program will try to fallback to downloading from the librecmc archive, but it cannot find the package there either.

Hello, thank you for your great distribution! On my system I was building 1.3.4 from ThinkPenguin source CD (including SDK), and I had to tweak the following Makefile to fix a broken build. There is no http download available, only https, and the download program does not try https automatically: <pre>diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile index 2dbf03c..22c6af5 100644 --- a/tools/ccache/Makefile +++ b/tools/ccache/Makefile @@ -11,7 +11,7 @@ PKG_NAME:=ccache PKG_VERSION:=3.3.2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=http://samba.org/ftp/ccache/ +PKG_SOURCE_URL:=https://samba.org/ftp/ccache/ PKG_MD5SUM:=2767d8f88f5ec218983a2f05c9e20df2 include $(INCLUDE_DIR)/host-build.mk</pre> Incidentally, the download program will try to fallback to downloading from the librecmc archive, but it cannot find the package there either.
RISCI_ATOM commented 6 years ago
Collaborator

Fixed with commit bbd5dcdc06.

Fixed with commit [bbd5dcdc06](https://gogs.librecmc.org/libreCMC/libreCMC/commit/bbd5dcdc061466c2c00a121db2e105cdec229a98).
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.