public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-arch/lbzip2/files: 0.20-Makefile.patch
@ 2010-02-09 20:19 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-02-09 20:19 UTC (permalink / raw
  To: gentoo-commits

jlec        10/02/09 20:19:50

  Added:                0.20-Makefile.patch
  Log:
  Added on request of bug 264002, thanks Daniel Lin for initial ebuild
  (Portage version: 2.2_rc62/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-arch/lbzip2/files/0.20-Makefile.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/files/0.20-Makefile.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lbzip2/files/0.20-Makefile.patch?rev=1.1&content-type=text/plain

Index: 0.20-Makefile.patch
===================================================================
--- Makefile	2009-04-04 00:33:49.000000000 +0200
+++ Makefile.new	2009-04-15 21:12:02.886390550 +0200
@@ -1,34 +1,27 @@
 # Makefile,v 1.9 2009-04-03 22:33:49 lacos Exp
 .POSIX:
 
-CC=gcc
-CFLAGS=$$($(SHELL) lfs.sh CFLAGS) -D _XOPEN_SOURCE=500 -pipe -ansi -pedantic \
-    -O2
-
-
-
-
-LDFLAGS=-s $$($(SHELL) lfs.sh LDFLAGS)
-LIBS=-l pthread -l bz2 $$($(SHELL) lfs.sh LIBS)
+CFLAGS += -D _XOPEN_SOURCE=500
+LIBS=-lpthread -lbz2
 
 lbzip2: main.o lbzip2.o lbunzip2.o lbunzip2_single.o lacos_rbtree.o
-	$(CC) -o lbzip2 $(LDFLAGS) main.o lbzip2.o lbunzip2.o \
+	$(CC) $(CPPFLAGS) $(LDFLAGS) -o lbzip2 main.o lbzip2.o lbunzip2.o \
   lbunzip2_single.o lacos_rbtree.o $(LIBS)
 
 main.o: main.c main.h lbunzip2_single.h lbunzip2.h lbzip2.h
-	$(CC) $(CFLAGS) -c main.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c main.c
 
 lbzip2.o: lbzip2.c main.h lbzip2.h lacos_rbtree.h
-	$(CC) $(CFLAGS) -c lbzip2.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c lbzip2.c
 
 lbunzip2.o: lbunzip2.c main.h lbunzip2.h lacos_rbtree.h
-	$(CC) $(CFLAGS) -c lbunzip2.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c lbunzip2.c
 
 lbunzip2_single.o: lbunzip2_single.c main.h lbunzip2_single.h
-	$(CC) $(CFLAGS) -c lbunzip2_single.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c lbunzip2_single.c
 
 lacos_rbtree.o: lacos_rbtree.c lacos_rbtree.h
-	$(CC) $(CFLAGS) -c lacos_rbtree.c
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c lacos_rbtree.c
 
 clean:
 	rm -f lbzip2 main.o lbzip2.o lbunzip2.o lbunzip2_single.o \






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-09 20:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-09 20:19 [gentoo-commits] gentoo-x86 commit in app-arch/lbzip2/files: 0.20-Makefile.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox