summaryrefslogtreecommitdiff
path: root/security/squidclam/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'security/squidclam/files/patch-configure')
-rw-r--r--security/squidclam/files/patch-configure57
1 files changed, 0 insertions, 57 deletions
diff --git a/security/squidclam/files/patch-configure b/security/squidclam/files/patch-configure
deleted file mode 100644
index 362e602c7fa8..000000000000
--- a/security/squidclam/files/patch-configure
+++ /dev/null
@@ -1,57 +0,0 @@
---- configure.orig Sun Apr 24 23:40:07 2005
-+++ configure Sun Jun 26 01:49:42 2005
-@@ -4,52 +4,16 @@
-
- CLAMLIBS="`clamav-config --libs || exit -1`"
- CURLLIBS="`curl-config --libs || exit -1`"
--CFLAGS="$CFLAGS $CURLLIBS $CLAMLIBS -lclamav -lcurl"
-+CFLAGS="-I%%LOCALBASE%%/include $CFLAGS $CURLLIBS $CLAMLIBS -lclamav -lcurl"
- OUTFILE=Makefile
- BINARY=squidclam
--TMPFILE=`mktemp`
-
- # only use libs once
- CFLAGS="`echo $CFLAGS | tr ' ' '\n' | sort -u | tr '\n' ' '`"
-
--# no options allowed
--if test $# -ne 0
--then
-- echo ""
-- echo "This is just a very small script. No Options available."
-- echo "If you like to provide me with a better one please do :)"
-- echo ""
-- exit -1
--fi
--
--# compiler test
--if test x"$CC" = "x"
--then
-- CC="gcc -Wall"
--fi
--
--# can we generate an executable
--cat > $TMPFILE.c << EOF
--int main (void) {
-- return 0;
--}
--EOF
--
--$CC -o $TMPFILE.exe $TMPFILE.c
--
--if test $? -ne 0
--then
-- echo "compiler not able to generate an executable"
-- exit -1
--else
-- rm -f $TMPFILE*
--fi
--
- # write makefile
- cat > $OUTFILE << EOF
--ifndef \$(DESTDIR)
-- DESTDIR="/usr/local/bin"
--endif
-+DESTDIR?= "%%PREFIX%%/bin"
-
- CFLAGS=$CFLAGS
-