ports/multimedia/ffmpeg-devel/files/patch-libavformat::Makefile
Mario Sergio Fujikawa Ferreira d46bacb4a7 o Update to snapshot 20050526
o Fix PLIST typos
o Improve WITH{,OUT}_BUILTIN_VECTOR Makefile support
o Re-enable theora support [1]. This is still being investigated
o This version's ffplay recognizes neither .mkv nor .ogm

Reviewed by:	kwm [1]
2005-05-26 17:58:51 +00:00

28 lines
1.1 KiB
Text

--- libavformat/Makefile.orig Sun May 22 20:58:36 2005
+++ libavformat/Makefile Thu May 26 13:30:00 2005
@@ -109,8 +109,7 @@
install $(INSTALLSTRIP) -m 755 $(SLIB) "$(prefix)"
else
install -d $(libdir)
- install $(INSTALLSTRIP) -m 755 $(SLIB) $(libdir)/libavformat-$(VERSION).so
- ln -sf libavformat-$(VERSION).so $(libdir)/libavformat.so
+ ${BSD_INSTALL_DATA} $(SLIB) $(libdir)/libavformat.so
$(LDCONFIG) || true
endif
else
@@ -122,12 +121,12 @@
install-headers:
mkdir -p "$(prefix)/include/ffmpeg"
- install -m 644 $(SRC_PATH)/libavformat/avformat.h $(SRC_PATH)/libavformat/avio.h \
+ ${BSD_INSTALL_DATA} $(SRC_PATH)/libavformat/avformat.h $(SRC_PATH)/libavformat/avio.h \
$(SRC_PATH)/libavformat/rtp.h $(SRC_PATH)/libavformat/rtsp.h \
$(SRC_PATH)/libavformat/rtspcodes.h \
"$(prefix)/include/ffmpeg"
- install -d $(libdir)/pkgconfig
- install -m 644 ../libavformat.pc $(libdir)/pkgconfig
+ install -d $(prefix)/libdata/pkgconfig
+ ${BSD_INSTALL_DATA} ../libavformat.pc $(prefix)/libdata/pkgconfig
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<