1 |
tove 09/04/24 06:39:58 |
2 |
|
3 |
Added: 64-Makefile.patch |
4 |
Log: |
5 |
Initial commit. Thanks to Sascha Lucas, Peter Gantner and Nils Schlupp (#215881) |
6 |
(Portage version: 2.2_rc31/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-mail/topal/files/64-Makefile.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/topal/files/64-Makefile.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/topal/files/64-Makefile.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: 64-Makefile.patch |
15 |
=================================================================== |
16 |
diff -Naur topal-64.orig/MIME-tool/Makefile topal-64/MIME-tool/Makefile |
17 |
--- topal-64.orig/MIME-tool/Makefile 2008-10-24 12:16:45.000000000 +0200 |
18 |
+++ topal-64/MIME-tool/Makefile 2009-04-22 09:36:34.000000000 +0200 |
19 |
@@ -1,10 +1,13 @@ |
20 |
.PHONY: all clean realclean distrib |
21 |
|
22 |
+CC=gcc |
23 |
+CFLAGS=-Wall -O2 |
24 |
+LDFLAGS= |
25 |
+ |
26 |
all: mime-tool |
27 |
|
28 |
mime-tool: mime.c |
29 |
- gcc -Wall -O2 -o mime-tool mime.c |
30 |
- -strip mime-tool |
31 |
+ $(CC) $(CFLAGS) $(LDFLAGS) -o mime-tool mime.c |
32 |
|
33 |
realclean: clean |
34 |
-rm mime-tool |
35 |
diff -Naur topal-64.orig/Makefile topal-64/Makefile |
36 |
--- topal-64.orig/Makefile 2008-10-24 12:16:45.000000000 +0200 |
37 |
+++ topal-64/Makefile 2009-04-22 09:37:18.000000000 +0200 |
38 |
@@ -36,26 +36,28 @@ |
39 |
INSTALLPATHDOC ?= $(INSTALLPATH)/share/doc/topal |
40 |
INSTALLPATHPATCHES ?= $(INSTALLPATH)/share/topal/patches |
41 |
|
42 |
+CC=gcc |
43 |
+CFLAGS=-Wall -O2 |
44 |
+ |
45 |
# The default action. |
46 |
all: topal mime-tool README.txt |
47 |
|
48 |
all2: package distrib |
49 |
|
50 |
ada-readline-c.o: ada-readline-c.c |
51 |
- gcc -c -Wall -O2 $(TOPALDEBUG) ada-readline-c.c |
52 |
+ $(CC) -c $(CFLAGS) $(TOPALDEBUG) ada-readline-c.c |
53 |
|
54 |
ada-echo-c.o: ada-echo-c.c |
55 |
- gcc -c -Wall -O2 $(TOPALDEBUG) ada-echo-c.c |
56 |
+ $(CC) -c $(CFLAGS) $(TOPALDEBUG) ada-echo-c.c |
57 |
|
58 |
externals-c.o: externals-c.c |
59 |
- gcc -c -Wall -O2 $(TOPALDEBUG) externals-c.c |
60 |
+ $(CC) -c $(CFLAGS) $(TOPALDEBUG) externals-c.c |
61 |
|
62 |
mime-tool: |
63 |
- make -C MIME-tool |
64 |
+ $(MAKE) -C MIME-tool |
65 |
|
66 |
topal: $(TOPALDEPS) |
67 |
- gnatmake -gnatwa -gnato -O2 $(TOPALDEBUG) topal |
68 |
- -strip topal |
69 |
+ gnatmake -gnatwa -gnato -O2 $(TOPALDEBUG) topal -largs "$(LDFLAGS)" |
70 |
|
71 |
topal.gz: topal |
72 |
gzip -c9 topal > topal.gz |
73 |
@@ -87,11 +89,11 @@ |
74 |
|
75 |
install: all |
76 |
install -d $(INSTALLPATHBIN) $(INSTALLPATHDOC) $(INSTALLPATHMAN)/man1 $(INSTALLPATHPATCHES) |
77 |
- install -m 755 -s topal $(INSTALLPATHBIN) |
78 |
- install -m 644 README.html README.txt COPYING $(INSTALLPATHDOC) |
79 |
+ install -m 755 topal $(INSTALLPATHBIN) |
80 |
+ install -m 644 README.txt $(INSTALLPATHDOC) |
81 |
install -m 644 topal.man $(INSTALLPATHMAN)/man1/topal.1 |
82 |
- install -m 644 pine-*.patch alpine-*.patch $(INSTALLPATHPATCHES) |
83 |
- install -m 755 -s MIME-tool/mime-tool $(INSTALLPATHBIN) |
84 |
+ install -m 644 alpine-*.patch $(INSTALLPATHPATCHES) |
85 |
+ install -m 755 MIME-tool/mime-tool $(INSTALLPATHBIN) |
86 |
install -m 644 MIME-tool/mime-tool.man $(INSTALLPATHMAN)/man1/mime-tool.1 |
87 |
|
88 |
clean: |