summaryrefslogtreecommitdiffstats
path: root/antivirus/inoclam/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'antivirus/inoclam/PRE_BUILD')
-rwxr-xr-xantivirus/inoclam/PRE_BUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/antivirus/inoclam/PRE_BUILD b/antivirus/inoclam/PRE_BUILD
new file mode 100755
index 0000000000..1f2f8ef953
--- /dev/null
+++ b/antivirus/inoclam/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+# fix CmakeFile
+sed -i '/^INSTALL/s:inoclam:${CMAKE_CURRENT_BINARY_DIR}/inoclam:' src/CMakeLists.txt