pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
openvas-manager: Use gsed in a script. Require xsltproc
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Wed Oct 12 03:48:20 2016 +0200
Changeset: b328eb480572f48aa3f30296d5159780f139bb3e
Modified Files:
openvas-manager/Makefile
Log Message:
openvas-manager: Use gsed in a script. Require xsltproc
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b328eb480572f48aa3f30296d5159780f139bb3e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
openvas-manager/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diffs:
diff --git a/openvas-manager/Makefile b/openvas-manager/Makefile
index 732b98f..c91e6a3 100644
--- a/openvas-manager/Makefile
+++ b/openvas-manager/Makefile
@@ -12,7 +12,7 @@ LICENSE= gnu-gpl-v2
USE_CMAKE= YES
BUILD_DEFS+= VARBASE
USE_LANGUAGES= c++ c
-USE_TOOLS+= pkg-config
+USE_TOOLS+= pkg-config gsed:run
CMAKE_ARGS+= -DLOCALSTATEDIR:PATH=${VARBASE}
@@ -30,6 +30,12 @@ SUBST_FILES.confdir= CMakeLists.txt
SUBST_SED.confdir= -e 's,DESTINATION $${OPENVAS_SYSCONF_DIR},DESTINATION ${EGDIR}/,'
SUBST_STAGE.confdir= post-patch
+SUBST_CLASSES+= gnused
+SUBST_FILES.gnused= tools/openvas-portnames-update.in
+SUBST_SED.gnused= -e 's,sed -s,${TOOLS_PATH.gsed} -s,' # parameter "-s" is a gnu extension
+SUBST_STAGE.gnused= post-patch
+
+.include "../../textproc/libxslt/buildlink3.mk" # tool xsltproc used
.include "../../lang/python/application.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../wip/openvas-libraries/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index