diff options
author | Sascha Lucas <sascha_lucas@web.de> | 2012-02-20 21:38:49 +0100 |
---|---|---|
committer | Sascha Lucas <sascha_lucas@web.de> | 2012-02-20 21:38:49 +0100 |
commit | 94e1d8a74554f1394b622f1ba296b631a92e62d1 (patch) | |
tree | 7e8d049b31b2466d061d9203eb3c621e39cb0081 /net-mail/topal/files/74-Makefile.patch | |
parent | updated manifest (diff) | |
download | net-mail-94e1d8a74554f1394b622f1ba296b631a92e62d1.tar.gz net-mail-94e1d8a74554f1394b622f1ba296b631a92e62d1.tar.bz2 net-mail-94e1d8a74554f1394b622f1ba296b631a92e62d1.zip |
72-Makefile.patch -> 74-Makefile.patchalpine
Diffstat (limited to 'net-mail/topal/files/74-Makefile.patch')
-rw-r--r-- | net-mail/topal/files/74-Makefile.patch | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/net-mail/topal/files/74-Makefile.patch b/net-mail/topal/files/74-Makefile.patch new file mode 100644 index 0000000..44fde09 --- /dev/null +++ b/net-mail/topal/files/74-Makefile.patch @@ -0,0 +1,77 @@ +diff -uraN topal-74.orig/Makefile topal-74/Makefile +--- topal-74.orig/Makefile 2011-06-23 22:55:26.000000000 +0200 ++++ topal-74/Makefile 2012-02-20 21:09:31.000000000 +0100 +@@ -15,6 +15,10 @@ + + .PHONY: all binary doc clean realclean distclean package install distrib all2 FORCE + ++CC=gcc ++CFLAGS=-Wall -O2 ++LDFLAGS= ++ + RELEASECODE=$(shell grep '^<dt>' Changelog.html | tail -1 | sed 's/.* release //; sx</a>.*$$xx') + BUILDDATE=$(shell date '+%Y-%m-%dT%H%M%S%Z') + +@@ -44,20 +48,19 @@ + all2: package distrib + + ada-readline-c.o: ada-readline-c.c +- gcc -c -Wall -O2 $(TOPALDEBUG) ada-readline-c.c ++ $(CC) -c $(CFLAGS) $(TOPALDEBUG) ada-readline-c.c + + ada-echo-c.o: ada-echo-c.c +- gcc -c -Wall -O2 $(TOPALDEBUG) ada-echo-c.c ++ $(CC) -c $(CFLAGS) $(TOPALDEBUG) ada-echo-c.c + + externals-c.o: externals-c.c +- gcc -c -Wall -O2 $(TOPALDEBUG) externals-c.c ++ $(CC) -c $(CFLAGS) $(TOPALDEBUG) externals-c.c + + mime-tool: +- make -C MIME-tool ++ $(MAKE) -C MIME-tool + + topal: $(TOPALDEPS) +- gnatmake -gnat05 -gnatwa -gnato -O2 $(TOPALDEBUG) topal +- -strip topal ++ gnatmake -gnat05 -gnatwa -gnato -O2 $(TOPALDEBUG) topal -largs $(LDFLAGS) + + # FORCE, because BUILDDATE changes each time.... + version_id.adb: mkversionid FORCE +@@ -74,13 +77,13 @@ + topal.pdf: topal.tex versionid.tex + pdflatex topal.tex && pdflatex topal.tex + +-install: all ++install: + install -d $(INSTALLPATHBIN) $(INSTALLPATHDOC) $(INSTALLPATHMAN)/man1 $(INSTALLPATHPATCHES) +- install -m 755 -s topal $(INSTALLPATHBIN) ++ install -m 755 topal $(INSTALLPATHBIN) + install -m 644 Features.html Changelog.html topal.pdf COPYING $(INSTALLPATHDOC) + install -m 644 topal.man $(INSTALLPATHMAN)/man1/topal.1 +- install -m 644 pine-*.patch alpine-*.patch alpine-*.patch-* $(INSTALLPATHPATCHES) +- install -m 755 -s MIME-tool/mime-tool $(INSTALLPATHBIN) ++ install -m 644 alpine-*.patch alpine-*.patch-* $(INSTALLPATHPATCHES) ++ install -m 755 MIME-tool/mime-tool $(INSTALLPATHBIN) + install -m 644 MIME-tool/mime-tool.man $(INSTALLPATHMAN)/man1/mime-tool.1 + + clean: +diff -uraN topal-74.orig/MIME-tool/Makefile topal-74/MIME-tool/Makefile +--- topal-74.orig/MIME-tool/Makefile 2011-06-23 22:55:26.000000000 +0200 ++++ topal-74/MIME-tool/Makefile 2012-02-20 21:04:37.000000000 +0100 +@@ -1,10 +1,13 @@ + .PHONY: all clean realclean distrib + ++CC=gcc ++CFLAGS=-Wall -O2 ++LDFLAGS= ++ + all: mime-tool + + mime-tool: mime.c +- gcc -Wall -O2 -o mime-tool mime.c +- -strip mime-tool ++ $(CC) $(CFLAGS) $(LDFLAGS) -o mime-tool mime.c + + realclean: clean + -rm mime-tool |