aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
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