Author: randy
Date: 2007-08-17 10:12:15 -0600 (Fri, 17 Aug 2007)
New Revision: 1865

Added:
   trunk/libmpeg3/libmpeg3-1.7-makefile_mods-1.patch
Log:
Added a patch for the updated libmpeg3 version

Added: trunk/libmpeg3/libmpeg3-1.7-makefile_mods-1.patch
===================================================================
--- trunk/libmpeg3/libmpeg3-1.7-makefile_mods-1.patch                           
(rev 0)
+++ trunk/libmpeg3/libmpeg3-1.7-makefile_mods-1.patch   2007-08-17 16:12:15 UTC 
(rev 1865)
@@ -0,0 +1,46 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2007-08-17
+Initial Package Version: 1.6
+Upstream Status:         Not submitted (LFS specific)
+Origin:                  Randy McMurchy and David Jensen
+Description:             Fixes a syntax error and modifies the installation
+                         so that all the files are installed during 'make 
install'
+
+$Id$
+
+
+--- libmpeg3-1.7-orig/Makefile 2006-02-15 05:09:31.000000000 +0000
++++ libmpeg3-1.7/Makefile      2007-08-17 15:42:59.000000000 +0000
+@@ -1,5 +1,6 @@
+ CC = gcc
+ NASM = nasm
++VERSION_NAME := $(shell basename $(PWD))
+ USE_MMX = 0
+ USE_CSS = 1
+ A52DIR := $(shell expr a52dec* )
+@@ -149,7 +150,7 @@
+ 
+ LIBS = -lm -lpthread
+ 
+-$(shell if ! test -d $(OBJDIR) \; then mkdir -p $(OBJDIR) \; fi )
++$(shell if ! test -d $(OBJDIR) ; then mkdir -p $(OBJDIR) ; fi )
+ 
+ $(shell echo $(CFLAGS) > $(OBJDIR)/c_flags)
+ $(shell echo $(A52CFLAGS) > $(OBJDIR)/a52_flags)
+@@ -191,9 +192,13 @@
+               -ldl
+ 
+ install: 
++      if [ ! -d $(PREFIX)/bin ]; then install -v -m755 -d $(PREFIX)/bin; fi
++      if [ ! -d $(PREFIX)/lib ]; then install -v -m755 -d $(PREFIX)/lib; fi
++      if [ ! -d $(PREFIX)/include ]; then install -v -m755 -d 
$(PREFIX)/include; fi
+       cp $(UTILS) $(PREFIX)/bin
+-#     cp $(OUTPUT) $(PREFIX)/lib
+-#     cp libmpeg3.h mpeg3private.h $(PREFIX)/include
++      cp $(OUTPUT) $(PREFIX)/lib
++      cp libmpeg3.h mpeg3private.h mpeg3protos.h $(PREFIX)/include
++      install -v -m644 -D docs/index.html 
$(PREFIX)/share/doc/$(VERSION_NAME)/index.html
+ 
+ clean:
+       rm -rf $(OBJDIR)
+


Property changes on: trunk/libmpeg3/libmpeg3-1.7-makefile_mods-1.patch
___________________________________________________________________
Name: svn:keywords
   + Id

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to