1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Add a patch to fix pkg-static with linked against openssl 1.1.1

This is needed to be able to sign repository with pkg-static

Reported by:	many (based on a patch by gjb)
MFH:		2018Q4
This commit is contained in:
Baptiste Daroussin 2018-10-16 10:08:01 +00:00
parent 24e4634e8e
commit 721fca0324
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482214
2 changed files with 12 additions and 1 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= pkg
DISTVERSION= 1.10.5
PORTREVISION= 4
PORTREVISION= 5
_PKG_VERSION= ${DISTVERSION}
CATEGORIES= ports-mgmt
MASTER_SITES= \

View File

@ -0,0 +1,11 @@
--- src/Makefile.in.orig 2018-02-14 23:08:02 UTC
+++ src/Makefile.in
@@ -619,7 +619,7 @@ pkg_static_LDADD = @OS_LDFLAGS@ $(pkg_OBJECTS) \
$(top_builddir)/libpkg/libpkg_static.la \
$(top_builddir)/compat/libbsd_compat.la @LIBJAIL_LIB@ \
@LDNS_LIBS@ @OS_LIBS@ -larchive -lz -lutil -lbz2 -llzma -lssl \
- -lcrypto -lm $(am__append_2) $(am__append_3) $(am__append_4)
+ -lpthread -lcrypto -lm $(am__append_2) $(am__append_3) $(am__append_4)
DYNPROG = pkg
@BUILD_STATIC_TRUE@pkg_static_LDFLAGS = -all-static
dist_sysconf_DATA = pkg.conf.sample