packages/mail/xmail/patches/010-Makefile.common.patch
hauke 323e2cbce2 xmail: Update to version 1.27
This patch updates xmail to the latest version available, and
includes a quick fix for IPv6 support in CtrlClnt (XMail's
control client) commandline utility.

Signed-off-by: Luis Dallos <ld@nkvd.ignorelist.com>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@39497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 23:00:23 +00:00

22 lines
594 B
Diff

--- a/Makefile.common
+++ b/Makefile.common
@@ -77,15 +77,15 @@ SENDMAILOBJS = $(addprefix $(OUTDIR)/, $
$(OUTDIR)/%.o: %.cpp
- ${CC} ${CPPFLAGS} ${CFLAGS} -o $(OUTDIR)/$*.o -c $*.cpp
+ ${CXX} ${CPPFLAGS} ${CFLAGS} -o $(OUTDIR)/$*.o -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}