ports/mail/openemm2015/files/patch-backend__src__c__xmlback__GNUmakefile
Kurt Jaeger 277453a8c4 New port: mail/openemm2015
OpenEMM is a feature-rich web-based enterprise application for email
marketing, newsletters and service mails (transaction mails and
event or time triggered mails). OpenEMM offers a great user interface,
sophisticated bounce management, link tracking, lots of graphical
realtime statistics, a CMS module and a scripting feature to implement
individual tasks.

OpenEMM is the first open source application for e-mail marketing.
Its code base has been developed since 1999 and is used - as part
of the commercial software product E-Marketing Manager (EMM) - by
companies like IBM, Daimler, Siemens and Deutsche Telekom.

OpenEMM offers already more than 95% of the functionality of most
commercial products and some features most commercial products do
not offer right now (for example MySQL support and CMS functionality).

WWW: http://www.openemm.org

PR:		204000
Submitted by:	horst leitenmueller <horst.leitenmueller@liwest.at>
2015-10-24 18:40:39 +00:00

35 lines
1.1 KiB
Text

--- backend/src/c/xmlback/GNUmakefile.orig 2015-02-20 13:02:20 UTC
+++ backend/src/c/xmlback/GNUmakefile
@@ -20,10 +20,10 @@
# Contributor(s): AGNITAS AG.
##################################################################################
-CC = gcc
-CFLAGS = '-DVERSION="OpenEMM 2015"' -I. -I../lib $(shell xml2-config --cflags) -I../../../contrib/include/
-LDFLAGS = -L../../../contrib/lib
-LIBS = grammar/libgrammar.a -lslang -L../lib -lagn $(shell xml2-config --libs) -ldl -lm
+CC?= gcc
+CFLAGS+= '-DVERSION="OpenEMM 2015"' -I. -I../lib -I/usr/local/include $(shell xml2-config --cflags)
+LDFLAGS = -L/usr/local/lib
+LIBS = grammar/libgrammar.a -lslang -L../lib -lagn $(shell xml2-config --libs) -lcurses -lm
SRCS = append.c \
block.c \
blockmail.c \
@@ -63,7 +63,7 @@ all::
@$(MAKE) -C ../lib $@
all clean::
- make -C grammar $@
+ @${MAKE} -C grammar $@
all:: xmlback
@@ -71,7 +71,7 @@ xmlback: $(OBJS) grammar/libgrammar.a
$(CC) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
grammar/libgrammar.a:
- make -C grammar
+ @${MAKE} -C grammar
clean::
rm -f xmlback *.o *~