pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/wireguard-tools net/wireguard-tools: Fix minor issues



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0de5074889c1
branches:  trunk
changeset: 439352:0de5074889c1
user:      js <js%pkgsrc.org@localhost>
date:      Fri Sep 18 14:58:14 2020 +0000

description:
net/wireguard-tools: Fix minor issues

* MAKEFLAGS vs MAKE_FLAGS
* Pass MANDIR

diffstat:

 net/wireguard-tools/Makefile |  10 ++++++----
 net/wireguard-tools/PLIST    |   4 ++--
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r 529652cedcea -r 0de5074889c1 net/wireguard-tools/Makefile
--- a/net/wireguard-tools/Makefile      Fri Sep 18 14:37:58 2020 +0000
+++ b/net/wireguard-tools/Makefile      Fri Sep 18 14:58:14 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2020/09/18 14:37:43 js Exp $
+# $NetBSD: Makefile,v 1.2 2020/09/18 14:58:14 js Exp $
 
 DISTNAME=      wireguard-tools-1.0.20200827
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  https://git.zx2c4.com/wireguard-tools/snapshot/
 EXTRACT_SUFX=  .tar.xz
@@ -12,10 +13,11 @@
 
 USE_LANGUAGES= c
 USE_TOOLS+=    gmake
-MAKEFLAGS+=    WITH_BASHCOMPLETION=no
+MAKE_FLAGS+=   MANDIR=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+=   WITH_BASHCOMPLETION=no
 # wg-quick is a bunch of OS-specific shell scripts, currently lacking NetBSD
-MAKEFLAGS+=    WITH_WGQUICK=no
-MAKEFLAGS+=    WITH_SYSTEMDUNITS=no
+MAKE_FLAGS+=   WITH_WGQUICK=no
+MAKE_FLAGS+=   WITH_SYSTEMDUNITS=no
 
 WRKSRC=                ${WRKDIR}/${DISTNAME}/src
 
diff -r 529652cedcea -r 0de5074889c1 net/wireguard-tools/PLIST
--- a/net/wireguard-tools/PLIST Fri Sep 18 14:37:58 2020 +0000
+++ b/net/wireguard-tools/PLIST Fri Sep 18 14:58:14 2020 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2020/09/18 14:37:43 js Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/09/18 14:58:14 js Exp $
 bin/wg
-share/man/man8/wg.8
+man/man8/wg.8



Home | Main Index | Thread Index | Old Index