diff options
Diffstat (limited to 'media-libs/x264-svn/files/x264-svn-onlylib.patch')
-rw-r--r-- | media-libs/x264-svn/files/x264-svn-onlylib.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/media-libs/x264-svn/files/x264-svn-onlylib.patch b/media-libs/x264-svn/files/x264-svn-onlylib.patch new file mode 100644 index 000000000000..d429ac0952f8 --- /dev/null +++ b/media-libs/x264-svn/files/x264-svn-onlylib.patch @@ -0,0 +1,28 @@ +Index: x264-svn/Makefile +=================================================================== +--- x264-svn.orig/Makefile ++++ x264-svn/Makefile +@@ -66,7 +66,7 @@ DEP = depend + .PHONY: all default fprofiled clean distclean install install-gtk uninstall dox test testclean + all: default + +-default: $(DEP) x264$(EXE) ++default: $(DEP) + + libx264.a: .depend $(OBJS) $(OBJASM) + ar rc libx264.a $(OBJS) $(OBJASM) +@@ -142,13 +142,12 @@ distclean: clean + rm -rf test/ + $(MAKE) -C gtk distclean + +-install: x264 $(SONAME) ++install: libx264.a $(SONAME) + install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) + install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig + install -m 644 x264.h $(DESTDIR)$(includedir) + install -m 644 libx264.a $(DESTDIR)$(libdir) + install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig +- install x264 $(DESTDIR)$(bindir) + ranlib $(DESTDIR)$(libdir)/libx264.a + $(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so) + $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir)) |