git: 7b932c360faf - main - net/wireguard-tools: Use WRKSRC_SUBDIR

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Apr 18 07:22:23 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7b932c360faf383a6c59abd7c4a801ff9230cfe2

commit 7b932c360faf383a6c59abd7c4a801ff9230cfe2
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-04-18 05:18:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-04-18 05:49:18 +0000

    net/wireguard-tools: Use WRKSRC_SUBDIR
    
    Approved by:    portmgr (blanket)
---
 net/wireguard-tools/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/wireguard-tools/Makefile b/net/wireguard-tools/Makefile
index 47131508ab73..06a1af6628a5 100644
--- a/net/wireguard-tools/Makefile
+++ b/net/wireguard-tools/Makefile
@@ -8,14 +8,14 @@ MAINTAINER=	decke at FreeBSD.org
 COMMENT=	Fast, modern and secure VPN Tunnel
 
 LICENSE=	GPLv2
-LICENSE_FILE=	${WRKDIR}/${DISTNAME}/COPYING
+LICENSE_FILE=	${WRKSRC}/../COPYING
 
 FLAVORS=	default lite
 lite_PKGNAMESUFFIX=	-lite
 
 USES=		gmake tar:xz
 
-WRKSRC=		${WRKDIR}/${DISTNAME}/src
+WRKSRC_SUBDIR=	src
 
 MAKE_ARGS+=	DEBUG=no WITH_BASHCOMPLETION=yes WITH_SYSTEMDUNITS=no
 MAKE_ENV+=	MANDIR="${MANPREFIX}/man" \


More information about the dev-commits-ports-all mailing list