- fix gnuism in unit_tests/Makefile
- allow running tests twice (don't fail if can't create symlink to python) no pkg change
This commit is contained in:
parent
a946c81a2a
commit
84de7e7adb
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.85 2013/09/20 15:22:58 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.86 2013/09/29 22:38:29 sthen Exp $
|
||||
|
||||
COMMENT= virus scanner
|
||||
DISTNAME= clamav-0.98
|
||||
@ -70,6 +70,6 @@ post-install:
|
||||
${PREFIX}/share/examples/clamav
|
||||
|
||||
pre-test:
|
||||
ln -s ${MODPY_BIN} ${WRKDIR}/bin/python
|
||||
-ln -s ${MODPY_BIN} ${WRKDIR}/bin/python
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
15
security/clamav/patches/patch-unit_tests_Makefile_in
Normal file
15
security/clamav/patches/patch-unit_tests_Makefile_in
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-unit_tests_Makefile_in,v 1.1 2013/09/29 22:38:29 sthen Exp $
|
||||
|
||||
unnecessary gnu-ism
|
||||
|
||||
--- unit_tests/Makefile.in.orig Sun Sep 29 23:24:00 2013
|
||||
+++ unit_tests/Makefile.in Sun Sep 29 23:24:12 2013
|
||||
@@ -1117,7 +1117,7 @@ check_clamd.sh: $(top_builddir)/test/clam.exe check_cl
|
||||
check_clamscan.sh: $(top_builddir)/test/clam.exe
|
||||
|
||||
clamav.hdb: input/clamav.hdb
|
||||
- cp $< $@
|
||||
+ cp $? $@
|
||||
|
||||
$(top_builddir)/test/clam.exe:
|
||||
(cd $(top_builddir)/test && $(MAKE))
|
Loading…
x
Reference in New Issue
Block a user