Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2023 16:00:47 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c501f81fa74e - main - Mk: depulicate WWW information
Message-ID:  <202308211600.37LG0lQT073040@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt:

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

commit c501f81fa74e9795dc6a4564881ee8795938e6ca
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-08-21 13:13:25 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-08-21 15:50:16 +0000

    Mk: depulicate WWW information
    
    Stop duplication the WWW informations within the packages
    
    Since september 2022 the WWW lines has been moved from pkg-descr
    to Makefile, however the ports tree continued to push this info
    at the end of pkg-descr automatically, which is a duplicated
    information.
    
    Differential Revision:  https://reviews.freebsd.org/D41523
    Reviewed by:            mat
---
 Mk/Scripts/create-manifest.sh | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/Mk/Scripts/create-manifest.sh b/Mk/Scripts/create-manifest.sh
index c6d0ef559195..1a198ed8aef0 100644
--- a/Mk/Scripts/create-manifest.sh
+++ b/Mk/Scripts/create-manifest.sh
@@ -86,15 +86,7 @@ if [ -n "${dp_PKG_NOTES}" ]; then
 fi
 
 # Copy the pkg-descr file
-{
-	cat ${dp_DESCR}
-	if [ -n "${dp_WWW}" ] && ! grep -q '^WWW: ' ${dp_DESCR}; then
-			echo
-			for www in ${dp_WWW}; do
-				echo "WWW: ${www}"
-			done
-	fi
-} > ${dp_METADIR}/+DESC
+cp ${dp_DESCR} ${dp_METADIR}/+DESC
 
 # Concatenate all the scripts
 output_files=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308211600.37LG0lQT073040>