public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/mpeg-tools/files: mpeg-tools-1.5b-as-needed.patch
@ 2010-02-04 23:43 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-02-04 23:43 UTC (permalink / raw
  To: gentoo-commits

jlec        10/02/04 23:43:35

  Added:                mpeg-tools-1.5b-as-needed.patch
  Log:
  As-needed conform linking and respecting LDFLAGS, #282733
  (Portage version: 2.2_rc62/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-video/mpeg-tools/files/mpeg-tools-1.5b-as-needed.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg-tools/files/mpeg-tools-1.5b-as-needed.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg-tools/files/mpeg-tools-1.5b-as-needed.patch?rev=1.1&content-type=text/plain

Index: mpeg-tools-1.5b-as-needed.patch
===================================================================
--- convert/Makefile	2009-08-25 21:19:42.000000000 +0200
+++ convert/Makefile.new	2009-08-25 21:22:54.000000000 +0200
@@ -53,13 +53,13 @@
 all: $(TARGETS)
 
 vidtoppm: vidtoppm.c
-	$(CC) -lXvid -lX11 $(INCLUDE) -o vidtoppm vidtoppm.c 
+	$(CC) $(LDFLAGS) $(INCLUDE) $@.o -o $@  -lXvid -lX11
 
 vidtojpeg: vidtojpeg.c
-	$(CC) -lXvid -lX11 $(INCLUDE) -o vidtojpeg vidtojpeg.c
+	$(CC) $(LDFLAGS) $(INCLUDE) $@.o -o $@ -lXvid -lX11
 
 vidtoeyuv: vidtoeyuv.c
-	$(CC) -lXvid -lX11 $(INCLUDE) -o vidtoeyuv vidtoeyuv.c
+	$(CC) $(LDFLAGS) $(INCLUDE) $@.o -o $@ -lXvid -lX11
 
 wc:;		wc -l *.[ch] *.pl *.table
 clean:;		rm -f *.o core *~ gmon.out $(TARGETS)
--- convert/mtv/Makefile	2009-08-25 21:19:42.000000000 +0200
+++ convert/mtv/Makefile.new	2009-08-25 21:24:31.000000000 +0200
@@ -15,12 +15,12 @@
 default: movieToVid
 
 movieToVid: movieToVid.o
-	$(CC) $(CFLAGS) -o movieToVid movieToVid.o
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.o
 
 clean:
 	rm -f core lintout makeout tags Makefile.bak *.o \
 		movieToVid
 
 purify:	$(OBJ)
-	$(PURIFY) $(CC) $(OBJ) -o movieToVid.purify
+	$(PURIFY) $(CC) $(LDFLAGS) $(OBJ) -o movieToVid.purify
 
--- mpeg_encode//Makefile	2009-08-25 21:19:43.000000000 +0200
+++ mpeg_encode//Makefile.new	2009-08-25 21:27:12.000000000 +0200
@@ -203,7 +203,6 @@
 ############
 
 mpeg_encode: $(MP_ALL_OBJS) $(JPEG_LIB)
-	$(PURIFY) $(CC) $(CFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS)
-	strip mpeg_encode
+	$(PURIFY) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MP_ALL_OBJS) $(LIBDIRS) $(LIBS)
 
 profile: $(MP_ALL_OBJS)






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

only message in thread, other threads:[~2010-02-04 23:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-04 23:43 [gentoo-commits] gentoo-x86 commit in media-video/mpeg-tools/files: mpeg-tools-1.5b-as-needed.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