1 |
ssuominen 08/11/27 06:14:45 |
2 |
|
3 |
Added: |
4 |
evilvte-0.4.4_pre6-fix_ldflags_and_ldlibs_for_asneeded.patch |
5 |
Log: |
6 |
Fix ldflags and ldlibs ordering to respect users flags. Install target had all, which caused everything to get rebuilt at install phase which is not desired behavior. Thanks to leio wrt #249050. |
7 |
(Portage version: 2.2_rc15/cvs/Linux 2.6.27-gentoo-r3 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 x11-terms/evilvte/files/evilvte-0.4.4_pre6-fix_ldflags_and_ldlibs_for_asneeded.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/evilvte/files/evilvte-0.4.4_pre6-fix_ldflags_and_ldlibs_for_asneeded.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/evilvte/files/evilvte-0.4.4_pre6-fix_ldflags_and_ldlibs_for_asneeded.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: evilvte-0.4.4_pre6-fix_ldflags_and_ldlibs_for_asneeded.patch |
16 |
=================================================================== |
17 |
diff -ur evilvte-0.4.4~pre6.orig/configure evilvte-0.4.4~pre6/configure |
18 |
--- evilvte-0.4.4~pre6.orig/configure 2008-11-15 12:01:06.000000000 +0200 |
19 |
+++ evilvte-0.4.4~pre6/configure 2008-11-27 08:03:39.000000000 +0200 |
20 |
@@ -78,7 +78,7 @@ |
21 |
echo "deskdir=\$(DESTDIR)$deskdir" >> src/config.o |
22 |
echo "ICON_DIR=$ICON_DIR" >> src/config.o |
23 |
echo "ICON_DIR_INSTALL=\$(DESTDIR)$ICON_DIR" >> src/config.o |
24 |
-echo "LDFLAGS=-L/usr/local/lib -lvte -lgtk-x11-2.0" >> src/config.o |
25 |
+echo "LDLIBS=-L/usr/local/lib -lvte -lgtk-x11-2.0" >> src/config.o |
26 |
echo "PROG=$PROG" >> src/config.o |
27 |
echo "EVILVTE_VERSION=$EVILVTE_VERSION" >> src/config.o |
28 |
echo "SUSE_DETECTED=$SUSE_DETECTED" >> src/config.o |
29 |
diff -ur evilvte-0.4.4~pre6.orig/Makefile evilvte-0.4.4~pre6/Makefile |
30 |
--- evilvte-0.4.4~pre6.orig/Makefile 2008-11-15 12:01:06.000000000 +0200 |
31 |
+++ evilvte-0.4.4~pre6/Makefile 2008-11-27 08:10:46.000000000 +0200 |
32 |
@@ -16,7 +16,7 @@ |
33 |
sh src/evilvte.sh |
34 |
|
35 |
evilvte: src/evilvte.h $(OBJ) |
36 |
- $(CC) -o $(PROG) $(OBJ) $(LDFLAGS) |
37 |
+ $(CC) $(LDFLAGS) $(OBJ) $(LDLIBS) -o $(PROG) |
38 |
|
39 |
strip: all |
40 |
strip --remove-section=.comment --remove-section=.note $(PROG) |
41 |
@@ -32,7 +32,7 @@ |
42 |
misc/evilvte.1: |
43 |
sh src/manpage.sh |
44 |
|
45 |
-install: all |
46 |
+install: |
47 |
install -d $(bindir) |
48 |
install -m 755 $(PROG) src/showvte $(bindir) |
49 |
install -d $(ICON_DIR_INSTALL) |