Add xmail from #1309
[openwrt/svn-archive/archive.git] / net / xmail / patches / 010-Makefile.common.patch
1 --- xmail-1.24.orig/Makefile.common 2006-12-31 20:03:59.000000000 +0100
2 +++ xmail-1.24/Makefile.common 2007-02-01 20:41:08.000000000 +0100
3 @@ -76,15 +76,15 @@
4 SENDMAILOBJS = SendMail.o
5
6 %.o : %.cpp
7 - ${CC} ${CPPFLAGS} ${CFLAGS} -c $*.cpp
8 + ${CXX} ${CPPFLAGS} ${CFLAGS} -c $*.cpp
9
10 all: ${OUTDIR} ${MKMACHDEPINC} ${MAILSVR} ${CRTLCLNT} ${XMCRYPT} ${MKUSERS} ${SENDMAIL}
11
12 ${OUTDIR}:
13 @mkdir ${OUTDIR}
14
15 -${MKMACHDEPINC}: ${MKMACHDEP}
16 - ./${MKMACHDEP} > ${MKMACHDEPINC}
17 +#${MKMACHDEPINC}: ${MKMACHDEP}
18 +# ./${MKMACHDEP} > ${MKMACHDEPINC}
19
20 ${MKMACHDEP}: ${MKMACHDEPOBJS}
21 ${LD} -o ${MKMACHDEP} ${MKMACHDEPOBJS} ${LDFLAGS}