aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2018-10-16 18:08:01 +0800
committerbapt <bapt@FreeBSD.org>2018-10-16 18:08:01 +0800
commit7334a96055e6d87ef376134693efa5377cd2e4b1 (patch)
tree70f9dbdf67127f56cf1e0c0ee43b17f2fcaaa7c7 /ports-mgmt
parentd23a2675f74c4bdb182cf281dba673cbe530768c (diff)
downloadfreebsd-ports-gnome-7334a96055e6d87ef376134693efa5377cd2e4b1.tar.gz
freebsd-ports-gnome-7334a96055e6d87ef376134693efa5377cd2e4b1.tar.zst
freebsd-ports-gnome-7334a96055e6d87ef376134693efa5377cd2e4b1.zip
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
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkg/Makefile2
-rw-r--r--ports-mgmt/pkg/files/patch-src_Makefile.in11
2 files changed, 12 insertions, 1 deletions
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