From 7334a96055e6d87ef376134693efa5377cd2e4b1 Mon Sep 17 00:00:00 2001 From: bapt Date: Tue, 16 Oct 2018 10:08:01 +0000 Subject: 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 --- ports-mgmt/pkg/Makefile | 2 +- ports-mgmt/pkg/files/patch-src_Makefile.in | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 ports-mgmt/pkg/files/patch-src_Makefile.in (limited to 'ports-mgmt') diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile index de98279fa6bf..9afa38203aac 100644 --- a/ports-mgmt/pkg/Makefile +++ b/ports-mgmt/pkg/Makefile @@ -2,7 +2,7 @@ PORTNAME= pkg DISTVERSION= 1.10.5 -PORTREVISION= 4 +PORTREVISION= 5 _PKG_VERSION= ${DISTVERSION} CATEGORIES= ports-mgmt MASTER_SITES= \ diff --git a/ports-mgmt/pkg/files/patch-src_Makefile.in b/ports-mgmt/pkg/files/patch-src_Makefile.in new file mode 100644 index 000000000000..c92666b8d983 --- /dev/null +++ b/ports-mgmt/pkg/files/patch-src_Makefile.in @@ -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 -- cgit