Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2022 03:12:35 GMT
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2f9e4800e0b9 - main - devel/mold: Update to 1.2.1
Message-ID:  <202205020312.2423CZDE059603@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ashish:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f9e4800e0b96786d609384905f851dbd881417e

commit 2f9e4800e0b96786d609384905f851dbd881417e
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2022-05-02 02:16:56 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2022-05-02 03:12:05 +0000

    devel/mold: Update to 1.2.1
    
    - Update patch to avoid depending on python
---
 devel/mold/Makefile             |  2 +-
 devel/mold/distinfo             |  6 +++---
 devel/mold/files/patch-Makefile | 17 +++++++++++++++--
 3 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/devel/mold/Makefile b/devel/mold/Makefile
index 3d1270ef366d..71853f6e3d03 100644
--- a/devel/mold/Makefile
+++ b/devel/mold/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mold
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.2
+DISTVERSION=	1.2.1
 CATEGORIES=	devel
 
 MAINTAINER=	ashish@FreeBSD.org
diff --git a/devel/mold/distinfo b/devel/mold/distinfo
index c7dc3d5eaaa9..e19b81efb296 100644
--- a/devel/mold/distinfo
+++ b/devel/mold/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650071825
-SHA256 (rui314-mold-v1.2_GH0.tar.gz) = 975ad37394e5c32661ee5da2817e5e8b8d40c6a73c78e23b30a57763c004a9f1
-SIZE (rui314-mold-v1.2_GH0.tar.gz) = 4759743
+TIMESTAMP = 1651457801
+SHA256 (rui314-mold-v1.2.1_GH0.tar.gz) = 41868663ff18afee3fa35e5e3fdf3d9575eb2e4ff49967b8f42f479c61c1ec34
+SIZE (rui314-mold-v1.2.1_GH0.tar.gz) = 4669615
diff --git a/devel/mold/files/patch-Makefile b/devel/mold/files/patch-Makefile
index 5c82c0b734a7..0721117616fd 100644
--- a/devel/mold/files/patch-Makefile
+++ b/devel/mold/files/patch-Makefile
@@ -1,8 +1,8 @@
---- Makefile.orig	2022-02-20 07:40:17 UTC
+--- Makefile.orig	2022-04-28 09:51:29 UTC
 +++ Makefile
 @@ -4,7 +4,7 @@
  
- VERSION = 1.1
+ VERSION = 1.2.1
  
 -PREFIX = /usr/local
 +PREFIX = %%PREFIX%%
@@ -29,3 +29,16 @@
  endif
  
  # '-latomic' flag is needed building on riscv64 system
+@@ -205,11 +205,7 @@ install: all
+ 
+ 	$(INSTALL) -d $D$(LIBEXECDIR)/mold
+ 
+-# We want to make a symblink with a relative path, so that users can
+-# move the entire directory to other place without breaking the reference.
+-# GNU ln supports `--relative` to do that, but that's not supported by
+-# non-GNU systems. So we use Python to compute a relative path.
+-	ln -sf `python3 -c "import os.path; print(os.path.relpath('$(BINDIR)/mold', '$(LIBEXECDIR)/mold'))"` $D$(LIBEXECDIR)/mold/ld
++	ln -sf ../../bin/mold $D$(LIBEXECDIR)/mold/ld
+ 
+ 	$(INSTALL) -d $D$(MANDIR)/man1
+ 	$(INSTALL_DATA) docs/mold.1 $D$(MANDIR)/man1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205020312.2423CZDE059603>