From 3c9a11c9111b919560041206b31ec877d9cc8ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Apestegu=C3=ADa?= Date: Mon, 2 Jun 2025 18:08:50 +0200 Subject: [PATCH] security/vuxml: Fix make vuln-flat.xml According to the documentation, we should be able to type: make vuln-flat.xml (https://docs.freebsd.org/en/books/porters-handbook/book/#security-notify-vuxml-testing) But after 87748de634d7b the target name includes the PKGDIR which is not right. Fixes: 87748de634d7b --- security/vuxml/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/security/vuxml/Makefile b/security/vuxml/Makefile index 3e5d1d98ab34..40ea52b43075 100644 --- a/security/vuxml/Makefile +++ b/security/vuxml/Makefile @@ -31,7 +31,8 @@ dir_DTD= share/xml/dtd/vuxml .include VUXML_FILE?= ${PKGDIR}/vuln.xml -VUXML_FLAT_FILE?= ${PKGDIR}/vuln-flat.xml +VUXML_FLAT_NAME= vuln-flat.xml +VUXML_FLAT_FILE?= ${PKGDIR}/${VUXML_FLAT_NAME} _YEAR!= date +%Y VUXML_CURRENT_FILE?= ${PKGDIR}/vuln/${_YEAR}.xml @@ -57,7 +58,7 @@ do-test: @${CP} -R ${.CURDIR}/vuln.xml ${.CURDIR}/vuln ${WRKDIR}/test @cd ${.CURDIR} && make validate PKGDIR=${WRKDIR}/test -${VUXML_FLAT_FILE}: ${VUXML_FILE} vuln/*.xml +${VUXML_FLAT_NAME}: ${VUXML_FILE} vuln/*.xml xmllint -noent ${.ALLSRC:[1]} > ${.TARGET} validate: tidy