mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -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
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0.3
|
||||
DISTVERSION= 1.1
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= ashish@FreeBSD.org
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
--- 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.
|
||||
|
@ -14,13 +17,13 @@
|
|||
+STRIP = $(STRIP_CMD)
|
||||
|
||||
SRCS = $(wildcard *.cc elf/*.cc macho/*.cc)
|
||||
HEADERS=$(wildcard *.h elf/*.h macho/*.h)
|
||||
@@ -99,8 +99,8 @@ endif
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue