git: c1c94c7cdf24 - main - net/libnatpmp: Fix QA error due to wrong path in natpmp.pc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jan 2022 05:02:32 UTC
The branch main has been updated by khng (src committer):
URL: https://cgit.FreeBSD.org/ports/commit/?id=c1c94c7cdf241e2036861d9e38b14268587ff462
commit c1c94c7cdf241e2036861d9e38b14268587ff462
Author: Ka Ho Ng <khng@FreeBSD.org>
AuthorDate: 2022-01-26 04:25:21 +0000
Commit: Ka Ho Ng <khng@FreeBSD.org>
CommitDate: 2022-01-26 05:02:28 +0000
net/libnatpmp: Fix QA error due to wrong path in natpmp.pc
Reported by: Volodymyr Kostyrko <arcade@b1t.name>
Sponsored by: The FreeBSD Foundation
Approved by: Hung-Yi Chen <gaod@hychen.org> (maintainer), ygy (ports)
---
net/libnatpmp/Makefile | 6 +++++-
net/libnatpmp/distinfo | 4 +++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/net/libnatpmp/Makefile b/net/libnatpmp/Makefile
index 13d7a2010bf1..fcf1c2524a09 100644
--- a/net/libnatpmp/Makefile
+++ b/net/libnatpmp/Makefile
@@ -2,8 +2,12 @@
PORTNAME= libnatpmp
PORTVERSION= 20220122
+PORTREVISION= 1
CATEGORIES= net
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/pull/
+PATCHFILES+= 26.patch:-p1
+
MAINTAINER= gaod@hychen.org
COMMENT= NAT-PMP lightweight library
@@ -17,7 +21,7 @@ GH_ACCOUNT= miniupnp
GH_TAGNAME= 724dc69
MAKE_ARGS+= CC="${CC}"
-MAKE_ENV+= INSTALLPREFIX=${STAGEDIR}${PREFIX}
+MAKE_ENV+= INSTALLPREFIX=${PREFIX}
PLIST_FILES= bin/natpmpc \
include/natpmp.h \
diff --git a/net/libnatpmp/distinfo b/net/libnatpmp/distinfo
index dbcee235e51f..39714a5c0457 100644
--- a/net/libnatpmp/distinfo
+++ b/net/libnatpmp/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1642880388
+TIMESTAMP = 1643171071
SHA256 (miniupnp-libnatpmp-20220122-724dc69_GH0.tar.gz) = 370aabbe4257da52a1938e1bd49f696ecaf249155a3593c580a334178f89d7fd
SIZE (miniupnp-libnatpmp-20220122-724dc69_GH0.tar.gz) = 27670
+SHA256 (26.patch) = dfa2ef84d84a8c92ed8e69032456b48496fe76964f074bca916d41499daa6d78
+SIZE (26.patch) = 2409