summaryrefslogtreecommitdiffstats
path: root/mail/smtp-vilter/files/patch-backend+vilter-clamd+Makefile.freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'mail/smtp-vilter/files/patch-backend+vilter-clamd+Makefile.freebsd')
-rw-r--r--mail/smtp-vilter/files/patch-backend+vilter-clamd+Makefile.freebsd23
1 files changed, 23 insertions, 0 deletions
diff --git a/mail/smtp-vilter/files/patch-backend+vilter-clamd+Makefile.freebsd b/mail/smtp-vilter/files/patch-backend+vilter-clamd+Makefile.freebsd
new file mode 100644
index 0000000..cdd0d1b
--- /dev/null
+++ b/mail/smtp-vilter/files/patch-backend+vilter-clamd+Makefile.freebsd
@@ -0,0 +1,23 @@
+--- /dev/null Sat Jan 17 04:16:32 2004
++++ backend/vilter-clamd/Makefile.freebsd Sat Jan 17 16:12:21 2004
+@@ -0,0 +1,20 @@
++LIB= vilter-clamd
++SRCS= vilter-clamd.c
++OBJS= vilter-clamd.o
++
++MAJOR= 2
++
++CFLAGS+= -O2 -Wall -DLINUX -pipe -I../../include
++
++all: libvilter-clamd.so.${MAJOR}
++
++libvilter-clamd.so.${MAJOR}: ${OBJS}
++ ${CC} -shared -o libvilter-clamd.so.${MAJOR} ${OBJS} ${LFLAGS}
++
++install: libvilter-clamd.so.${MAJOR}
++ install -o root -m 0755 libvilter-clamd.so.${MAJOR} /usr/local/lib/libvilter-clamd.so.${MAJOR}
++ rm -f /usr/local/lib/libvilter-clamd.so
++ ln -s /usr/local/lib/libvilter-clamd.so.${MAJOR} /usr/local/lib/libvilter-clamd.so
++
++clean:
++ rm -f *.o *.a core libvilter-clamd.*
OpenPOWER on IntegriCloud