packages/mail/xmail/patches/010-Makefile.common.patch
florian c1674636bd Update xmail to 1.25 (#3607)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-06 14:56:42 +00:00

22 lines
533 B
Diff

--- a/Makefile.common
+++ b/Makefile.common
@@ -76,15 +76,15 @@
SENDMAILOBJS = SendMail.o
%.o : %.cpp
- ${CC} ${CPPFLAGS} ${CFLAGS} -c $*.cpp
+ ${CXX} ${CPPFLAGS} ${CFLAGS} -c $*.cpp
all: ${OUTDIR} ${MKMACHDEPINC} ${MAILSVR} ${CRTLCLNT} ${XMCRYPT} ${MKUSERS} ${SENDMAIL}
${OUTDIR}:
@mkdir ${OUTDIR}
-${MKMACHDEPINC}: ${MKMACHDEP}
- ./${MKMACHDEP} > ${MKMACHDEPINC}
+#${MKMACHDEPINC}: ${MKMACHDEP}
+# ./${MKMACHDEP} > ${MKMACHDEPINC}
${MKMACHDEP}: ${MKMACHDEPOBJS}
${LD} -o ${MKMACHDEP} ${MKMACHDEPOBJS} ${LDFLAGS}