git: cdebf177cae6 - main - devel/mold: Update to 1.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Feb 2022 23:49:21 UTC
The branch main has been updated by ashish:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cdebf177cae6da559c9a10eda3f312348d537a7a
commit cdebf177cae6da559c9a10eda3f312348d537a7a
Author: Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2022-02-21 23:40:12 +0000
Commit: Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2022-02-21 23:48:02 +0000
devel/mold: Update to 1.1
---
devel/mold/Makefile | 2 +-
devel/mold/distinfo | 6 +++---
devel/mold/files/patch-Makefile | 23 +++++++++++++----------
3 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/devel/mold/Makefile b/devel/mold/Makefile
index c74543a046bc..c9b9f22fbc74 100644
--- a/devel/mold/Makefile
+++ b/devel/mold/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mold
DISTVERSIONPREFIX= v
-DISTVERSION= 1.0.3
+DISTVERSION= 1.1
CATEGORIES= devel
MAINTAINER= ashish@FreeBSD.org
diff --git a/devel/mold/distinfo b/devel/mold/distinfo
index b435216c3d8b..322d486a2ad8 100644
--- a/devel/mold/distinfo
+++ b/devel/mold/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644335355
-SHA256 (rui314-mold-v1.0.3_GH0.tar.gz) = 488c12058b4c7c77bff94c6f919e40b2f12c304214e2e0d7d4833c21167837c0
-SIZE (rui314-mold-v1.0.3_GH0.tar.gz) = 4501162
+TIMESTAMP = 1645486596
+SHA256 (rui314-mold-v1.1_GH0.tar.gz) = 2f04bb2cd58797258c4f5f6f29fd2667f8b6c6b2bc76c731fede526884ea9a0c
+SIZE (rui314-mold-v1.1_GH0.tar.gz) = 4522886
diff --git a/devel/mold/files/patch-Makefile b/devel/mold/files/patch-Makefile
index dbe3a8d94b87..5c82c0b734a7 100644
--- a/devel/mold/files/patch-Makefile
+++ b/devel/mold/files/patch-Makefile
@@ -1,26 +1,29 @@
---- Makefile.orig 2022-02-08 16:00:48 UTC
+--- Makefile.orig 2022-02-20 07:40:17 UTC
+++ Makefile
-@@ -1,4 +1,4 @@
+@@ -4,7 +4,7 @@
+
+ VERSION = 1.1
+
-PREFIX = /usr/local
+PREFIX = %%PREFIX%%
BINDIR = $(PREFIX)/bin
LIBDIR = $(PREFIX)/lib
LIBEXECDIR = $(PREFIX)/libexec
-@@ -18,7 +18,7 @@ endif
+@@ -27,7 +27,7 @@ PKG_CONFIG = pkg-config
# If you want to keep symbols in the installed binary, run make with
# `STRIP=true` to run /bin/true instead of the strip command.
-STRIP = strip
+STRIP = $(STRIP_CMD)
- SRCS=$(wildcard *.cc elf/*.cc macho/*.cc)
- HEADERS=$(wildcard *.h elf/*.h macho/*.h)
-@@ -99,8 +99,8 @@ endif
+ SRCS = $(wildcard *.cc elf/*.cc macho/*.cc)
+ OBJS = $(SRCS:%.cc=out/%.o)
+@@ -103,8 +103,8 @@ ifneq ($(OS), Darwin)
+ endif
- # Use pkg-config to know where libcrypto resides.
- ifneq ($(OS), Darwin)
-- MOLD_CXXFLAGS += $(shell pkg-config --cflags-only-I openssl)
-- MOLD_LDFLAGS += $(shell pkg-config --libs-only-L openssl) -lcrypto
+ ifeq ($(NEEDS_LIBCRYPTO), 1)
+- MOLD_CXXFLAGS += $(shell $(PKG_CONFIG) --cflags-only-I openssl)
+- MOLD_LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-L openssl) -lcrypto
+ MOLD_CXXFLAGS += -I${OPENSSLINC}
+ MOLD_LDFLAGS += -L${OPENSSLLIB} -lcrypto
endif