freebsd-ports/multimedia/ffmpeg/files/patch-libavformat::Makefile
Mark Linimon f6f8cd3799 Fix installation of shared libs, man page installation, and plist.
Bump portrevision, although the original patch didn't do that (this
seems necessary enough to me).  Compiles ok on 4.x, 5.x.
PR:		ports/56721
Submitted by:	Simon Barner <barner@in.tum.de>
Committed on behalf of lioux@, who is having machine troubles.
2003-12-08 03:26:41 +00:00

13 lines
566 B
Text

--- libavformat/Makefile.orig Thu Sep 11 22:55:10 2003
+++ libavformat/Makefile Thu Sep 11 23:12:50 2003
@@ -88,8 +88,8 @@
install: all
ifeq ($(BUILD_SHARED),yes)
install -d $(prefix)/lib
- install -s -m 755 $(SLIB) $(prefix)/lib/libavformat-$(VERSION).so
- ln -sf libavformat-$(VERSION).so $(prefix)/lib/libavformat.so
+ install -s -m 755 $(SLIB) $(prefix)/lib/libavformat.so.0
+ ln -sf libavformat.so.0 $(prefix)/lib/libavformat.so
ldconfig || true
mkdir -p $(prefix)/include/ffmpeg
install -m 644 $(VPATH)/avformat.h $(prefix)/include/ffmpeg/avformat.h