mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
devel/mold: Update to 1.1
This commit is contained in:
parent
128f6c8e6d
commit
cdebf177ca
3 changed files with 17 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= mold
|
PORTNAME= mold
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 1.0.3
|
DISTVERSION= 1.1
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
|
|
||||||
MAINTAINER= ashish@FreeBSD.org
|
MAINTAINER= ashish@FreeBSD.org
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1644335355
|
TIMESTAMP = 1645486596
|
||||||
SHA256 (rui314-mold-v1.0.3_GH0.tar.gz) = 488c12058b4c7c77bff94c6f919e40b2f12c304214e2e0d7d4833c21167837c0
|
SHA256 (rui314-mold-v1.1_GH0.tar.gz) = 2f04bb2cd58797258c4f5f6f29fd2667f8b6c6b2bc76c731fede526884ea9a0c
|
||||||
SIZE (rui314-mold-v1.0.3_GH0.tar.gz) = 4501162
|
SIZE (rui314-mold-v1.1_GH0.tar.gz) = 4522886
|
||||||
|
|
|
@ -1,26 +1,29 @@
|
||||||
--- Makefile.orig 2022-02-08 16:00:48 UTC
|
--- Makefile.orig 2022-02-20 07:40:17 UTC
|
||||||
+++ Makefile
|
+++ Makefile
|
||||||
@@ -1,4 +1,4 @@
|
@@ -4,7 +4,7 @@
|
||||||
|
|
||||||
|
VERSION = 1.1
|
||||||
|
|
||||||
-PREFIX = /usr/local
|
-PREFIX = /usr/local
|
||||||
+PREFIX = %%PREFIX%%
|
+PREFIX = %%PREFIX%%
|
||||||
BINDIR = $(PREFIX)/bin
|
BINDIR = $(PREFIX)/bin
|
||||||
LIBDIR = $(PREFIX)/lib
|
LIBDIR = $(PREFIX)/lib
|
||||||
LIBEXECDIR = $(PREFIX)/libexec
|
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
|
# 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=true` to run /bin/true instead of the strip command.
|
||||||
-STRIP = strip
|
-STRIP = strip
|
||||||
+STRIP = $(STRIP_CMD)
|
+STRIP = $(STRIP_CMD)
|
||||||
|
|
||||||
SRCS=$(wildcard *.cc elf/*.cc macho/*.cc)
|
SRCS = $(wildcard *.cc elf/*.cc macho/*.cc)
|
||||||
HEADERS=$(wildcard *.h elf/*.h macho/*.h)
|
OBJS = $(SRCS:%.cc=out/%.o)
|
||||||
@@ -99,8 +99,8 @@ endif
|
@@ -103,8 +103,8 @@ ifneq ($(OS), Darwin)
|
||||||
|
endif
|
||||||
|
|
||||||
# Use pkg-config to know where libcrypto resides.
|
ifeq ($(NEEDS_LIBCRYPTO), 1)
|
||||||
ifneq ($(OS), Darwin)
|
- MOLD_CXXFLAGS += $(shell $(PKG_CONFIG) --cflags-only-I openssl)
|
||||||
- MOLD_CXXFLAGS += $(shell pkg-config --cflags-only-I openssl)
|
- MOLD_LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-L openssl) -lcrypto
|
||||||
- MOLD_LDFLAGS += $(shell pkg-config --libs-only-L openssl) -lcrypto
|
|
||||||
+ MOLD_CXXFLAGS += -I${OPENSSLINC}
|
+ MOLD_CXXFLAGS += -I${OPENSSLINC}
|
||||||
+ MOLD_LDFLAGS += -L${OPENSSLLIB} -lcrypto
|
+ MOLD_LDFLAGS += -L${OPENSSLLIB} -lcrypto
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue