summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-09-07 21:34:03 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-09-07 21:34:03 +0000
commit26ceb56d8b90157eef1d8f626d049666c852d81a (patch)
treeb5f674a936b01d0c5c4815832c9a1c613ad943de
parent- Fix build with OpenSSL >= 1.0 [1] (diff)
Add a sanity check to ensure vuxml is actually installed prior to performing
the tidy step in validate. This step actually requires just the dependancies but the full validate requires that vuxml be installed. Reviewed by: simon Approved by: secteam (implicit)
-rw-r--r--security/vuxml/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/vuxml/Makefile b/security/vuxml/Makefile
index d9c080390b4c..365834aa428e 100644
--- a/security/vuxml/Makefile
+++ b/security/vuxml/Makefile
@@ -86,6 +86,11 @@ validate: tidy
fi
tidy: vuln.xml
+ @if [ ! -e ${LOCALBASE}/share/xml/dtd/vuxml/catalog.xml ]; \
+ then \
+ echo "Please install the VuXML port prior to running make validate/tidy."; \
+ exit 1; \
+ fi
${SH} ${FILESDIR}/tidy.sh "${FILESDIR}/tidy.xsl" "${VUXML_FILE}" > "${VUXML_FILE}.tidy"
newentry: