summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-05-27 16:51:03 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-05-27 16:51:03 +0000
commit213bd49252c10d18c304c3da853ea342c975515e (patch)
tree18829318dec7579b040c25a30d25198a28e919b2 /x11-wm/aewm/files
parentInstall Perl stuff in vendor-dir (bug #294892). Use newer configure flags. Re... (diff)
downloadgentoo-2-213bd49252c10d18c304c3da853ea342c975515e.tar.gz
gentoo-2-213bd49252c10d18c304c3da853ea342c975515e.tar.bz2
gentoo-2-213bd49252c10d18c304c3da853ea342c975515e.zip
Respect user flags wrt bug 237698, do not pre-strip files wrt bug 252118
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/aewm/files')
-rw-r--r--x11-wm/aewm/files/aewm-1.2.7-ldflags.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/x11-wm/aewm/files/aewm-1.2.7-ldflags.patch b/x11-wm/aewm/files/aewm-1.2.7-ldflags.patch
new file mode 100644
index 000000000000..e10808f00acb
--- /dev/null
+++ b/x11-wm/aewm/files/aewm-1.2.7-ldflags.patch
@@ -0,0 +1,38 @@
+Respect user LDFLAGS
+
+http://bugs.gentoo.org/show_bug.cgi?id=237698
+
+--- src/Makefile
++++ src/Makefile
+@@ -49,7 +49,7 @@
+ all: $(PROG)
+
+ $(PROG): $(OBJS)
+- $(CC) $(OBJS) $(LDPATH) $(LIBS) -o $@
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LDPATH) $(LIBS) -o $@
+
+ $(OBJS): %.o: %.c $(HEADERS)
+ $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@
+--- clients/Makefile
++++ clients/Makefile
+@@ -48,16 +48,16 @@
+ set-gnome-pda: $(MYLIBDIR)/panel.o $(AELIBDIR)/gnome-pda.o
+
+ $(GTKPROGS): %: %.o
+- $(CC) $^ $(GTKLIBS) -o $@
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(GTKLIBS) -o $@
+
+ $(XAWPROGS): %: %.o
+- $(CC) $^ $(XAWLIBS) -o $@
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(XAWLIBS) -o $@
+
+ $(X11PROGS): %: %.o
+- $(CC) $^ $(X11LIBS) -o $@
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(X11LIBS) -o $@
+
+ $(ETCPROGS): %: %.o
+- $(CC) $^ -o $@
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
+
+ # --------------------------------------------------------------------
+