diff options
author | Rafael Tavares <mdrafaeltavares@gmail.com> | 2016-07-27 11:58:19 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-30 06:03:43 +0700 |
commit | b51d81c15eb5831d0c12c447b4ea74acde1605b8 (patch) | |
tree | 014061ca00356bd26125e29ca94f214d893cd494 /misc/bbrun/patches/bbrun-1.6-makefile.patch | |
parent | 645f171659f1890ea1b2a51fad2c5b0eddafbd45 (diff) |
misc/bbrun: Added (Run Utility for BlackBox).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/bbrun/patches/bbrun-1.6-makefile.patch')
-rw-r--r-- | misc/bbrun/patches/bbrun-1.6-makefile.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/misc/bbrun/patches/bbrun-1.6-makefile.patch b/misc/bbrun/patches/bbrun-1.6-makefile.patch new file mode 100644 index 0000000000..cf89b96df6 --- /dev/null +++ b/misc/bbrun/patches/bbrun-1.6-makefile.patch @@ -0,0 +1,29 @@ +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/ |