ports/multimedia/ffmpeg-devel/files/patch-libavcodec::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 KiB
Text

--- libavcodec/Makefile.orig Sun May 22 20:58:35 2005
+++ libavcodec/Makefile Thu May 26 13:30:41 2005
@@ -463,8 +463,7 @@
install $(INSTALLSTRIP) -m 755 $(SLIB) "$(prefix)"
else
install -d $(libdir)
- install $(INSTALLSTRIP) -m 755 $(SLIB) $(libdir)/libavcodec-$(VERSION).so
- ln -sf libavcodec-$(VERSION).so $(libdir)/libavcodec.so
+ ${BSD_INSTALL_DATA} $(SLIB) $(libdir)/libavcodec.so
$(LDCONFIG) || true
endif
ifeq ($(CONFIG_PP),yes)
@@ -479,12 +478,12 @@
install-headers:
mkdir -p "$(prefix)/include/ffmpeg"
- install -m 644 $(SRC_PATH)/libavcodec/avcodec.h \
+ ${BSD_INSTALL_DATA} $(SRC_PATH)/libavcodec/avcodec.h \
$(SRC_PATH)/libavcodec/common.h \
$(SRC_PATH)/libavcodec/rational.h \
"$(prefix)/include/ffmpeg"
- install -d $(libdir)/pkgconfig
- install -m 644 ../libavcodec.pc $(libdir)/pkgconfig
+ install -d $(prefix)/libdata/pkgconfig
+ ${BSD_INSTALL_DATA} ../libavcodec.pc $(prefix)/libdata/pkgconfig
#
# include dependency files if they exist