diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2009-02-02 11:41:34 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2009-02-02 11:41:34 +0000 |
commit | 23eeb93e0602c3ded84127315148be7aaeeccda8 (patch) | |
tree | 37803d726803f5225425ec0d330a44e3e63e59fb /games-arcade/nibbles/files | |
parent | add passdb field fix (diff) | |
download | gentoo-2-23eeb93e0602c3ded84127315148be7aaeeccda8.tar.gz gentoo-2-23eeb93e0602c3ded84127315148be7aaeeccda8.tar.bz2 gentoo-2-23eeb93e0602c3ded84127315148be7aaeeccda8.zip |
Fix --as-needed bug #247304
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
Diffstat (limited to 'games-arcade/nibbles/files')
-rw-r--r-- | games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch b/games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch new file mode 100644 index 000000000000..7e27d1fb9cac --- /dev/null +++ b/games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch @@ -0,0 +1,24 @@ +--- Makefile.old 2009-02-02 12:40:36.000000000 +0100 ++++ Makefile 2009-02-02 12:41:22.000000000 +0100 +@@ -1,19 +1,14 @@ +-CC = gcc -Wall -g +- + SRCS = player.c main.c loadMap.c cmdline.c ncdrawlib.c scoring.c + OBJS = $(SRCS:.c=.o) +-LIBS = -lncurses ++LDLIBS = -lncurses + + INSTALL=/usr/bin/install -c + INSTALL_FOLDER=/usr/games + + all: nibbles + +-.c.o: +- $(CC) -c $*.c -o $*.o +- + nibbles: $(OBJS) +- $(CC) $(LIBS) $(OBJS) -o $@ ++ $(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@ + + clean: + rm -f *~ *.o nibbles |