freebsd-ports/mail/openemm2013/files/patch-src__c__xmlback__GNUmakefile
Kurt Jaeger bc3fc9f856 New port: mail/openemm2013
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:		196516
Submitted by:	Horst Leitenmueller <horst.leitenmueller@liwest.at>
2015-10-17 16:41:29 +00:00

35 lines
1 KiB
Text

--- src/c/xmlback/GNUmakefile.orig 2013-09-11 08:30:37 UTC
+++ src/c/xmlback/GNUmakefile
@@ -20,10 +20,10 @@
# Contributor(s): AGNITAS AG.
##################################################################################
-CC = gcc
-CFLAGS = -I. -I../lib -I$(HOME)/include $(shell xml2-config --cflags) -I/usr/include/slang
-LDFLAGS = -L$(HOME)/lib
-LIBS = grammar/libgrammar.a -lslang -L../lib -lagn $(shell xml2-config --libs) -ldl
+CC ?= clang
+CFLAGS += -I. -I../lib -I/usr/local/include $(shell xml2-config --cflags) -I/usr/local/lib/slang
+#LDFLAGS = -L$(HOME)/lib
+LIBS = grammar/libgrammar.a -lslang -L../lib -lagn $(shell xml2-config --libs) -lcurses
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 *~