1 |
drac 08/04/19 12:28:01 |
2 |
|
3 |
Added: icns2png-0.7-Makefile.patch |
4 |
Log: |
5 |
Initial commit for bug 218261, thanks to Peter Alfredsen. |
6 |
(Portage version: 2.1.5_rc4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-gfx/icns2png/files/icns2png-0.7-Makefile.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/icns2png/files/icns2png-0.7-Makefile.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/icns2png/files/icns2png-0.7-Makefile.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: icns2png-0.7-Makefile.patch |
15 |
=================================================================== |
16 |
diff -ur icns2png.orig/Makefile icns2png/Makefile |
17 |
--- icns2png.orig/Makefile 2008-02-13 11:44:39.000000000 +0200 |
18 |
+++ icns2png/Makefile 2008-04-19 14:17:02.000000000 +0300 |
19 |
@@ -24,10 +24,10 @@ |
20 |
# where make install puts icns2png |
21 |
prefix=/usr/local |
22 |
|
23 |
-CFLAGS+=-Wall -g |
24 |
-LDFLAGS+=-lpng12 -lz -lm |
25 |
+CFLAGS+=-Wall |
26 |
+LIBS=-lpng12 -lz -lm |
27 |
|
28 |
-CC=gcc |
29 |
+CC?=gcc |
30 |
|
31 |
OBJS = icns2png.o iconvert.o pngwriter.o byteswap.o |
32 |
|
33 |
@@ -42,8 +42,9 @@ |
34 |
fi; cd ..; |
35 |
|
36 |
install: icns2png |
37 |
- install -m 755 icns2png $(prefix)/bin |
38 |
- install -m 755 icontainer2icns $(prefix)/bin |
39 |
+ mkdir -p $(DESTDIR)$(prefix)/bin |
40 |
+ install -m 755 icns2png $(DESTDIR)$(prefix)/bin |
41 |
+ install -m 755 icontainer2icns $(DESTDIR)$(prefix)/bin |
42 |
|
43 |
release: icns2png test |
44 |
@mkdir -p icns2png-$(version); \ |
45 |
@@ -56,10 +57,10 @@ |
46 |
rm -f #.o; |
47 |
|
48 |
icns2png: $(OBJS) |
49 |
- $(CC) -o icns2png $(CFLAGS) $(OBJS) $(LDFLAGS) |
50 |
+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o icns2png |
51 |
|
52 |
icontainer2icns: |
53 |
- $(CC) -o icontainer2icns icontainer2icns.c |
54 |
+ $(CC) $(CFLAGS) $(LDFLAGS) -o icontainer2icns icontainer2icns.c |
55 |
|
56 |
clean: |
57 |
rm -f *.o icns2png icontainer2icns |
58 |
|
59 |
|
60 |
|
61 |
-- |
62 |
gentoo-commits@l.g.o mailing list |