* [gentoo-commits] gentoo-x86 commit in x11-misc/bbrun/files: bbrun-1.6-makefile.patch
@ 2011-06-11 9:12 Kacper Kowalik (xarthisius)
0 siblings, 0 replies; only message in thread
From: Kacper Kowalik (xarthisius) @ 2011-06-11 9:12 UTC (permalink / raw
To: gentoo-commits
xarthisius 11/06/11 09:12:38
Added: bbrun-1.6-makefile.patch
Log:
Fix underlinking wrt #367853. Remove multilib eclass, bump to EAPI4, simplify ebuild
(Portage version: 2.2.0_alpha36/cvs/Linux x86_64)
Revision Changes Path
1.1 x11-misc/bbrun/files/bbrun-1.6-makefile.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/bbrun/files/bbrun-1.6-makefile.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/bbrun/files/bbrun-1.6-makefile.patch?rev=1.1&content-type=text/plain
Index: bbrun-1.6-makefile.patch
===================================================================
Respect {C,LD}FLAGS, fix underlinking
http://bugs.gentoo.org/367853
--- bbrun/Makefile
+++ bbrun/Makefile
@@ -1,7 +1,7 @@
CC = gcc
LIBDIR = -L/usr/lib -L/usr/X11R6/lib
-LIBS = -lXpm `pkg-config --libs gtk+-2.0`
-CFLAGS = `pkg-config --cflags gtk+-2.0`
+LIBS = `pkg-config --libs xext xpm gtk+-2.0`
+DEP_CFLAGS = `pkg-config --cflags xext xpm gtk+-2.0`
OBJS = bbrun.o \
../wmgeneral/wmgeneral.o \
@@ -11,10 +11,10 @@
all: bbrun
.c.o:
- $(CC) -g -c -O2 -Wall $< -o $*.o $(CFLAGS)
+ $(CC) $(CFLAGS) $(DEP_CFLAGS) -c -Wall $< -o $*.o
bbrun: $(OBJS)
- $(CC) -Wall -g -o bbrun $^ $(LIBDIR) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wall -o bbrun $^ $(LIBDIR) $(LIBS)
install:
cp bbrun /usr/local/bin/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-11 9:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-11 9:12 [gentoo-commits] gentoo-x86 commit in x11-misc/bbrun/files: bbrun-1.6-makefile.patch Kacper Kowalik (xarthisius)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox