summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg-devel/files/patch-libavcodec::Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-10-11 19:28:30 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-10-11 19:28:30 +0000
commit4f2162a0d54f5d95c741a618577a2aafd500308f (patch)
tree3144bcec3109220690d47df1929e65caea18da15 /multimedia/ffmpeg-devel/files/patch-libavcodec::Makefile
parentAdd a fix that accounts for recently added <sys/endian.h> in (diff)
o Update ffmpeg to CVS snapshot dated Aug 20, 2002. Bump PORTREVISION
since this is unversioned. o Add booktree capture support with patches kindly supplied by "Steve O'Hara-Smith" <steve@sohara.org>. Work is in progress to get these merged back into ffmpeg's CVS repo o Add WITH_MP3 for lame mp3 support o Add WITH_VORBIS for vorbis support o Install shared library for the first time, begin versioning at 0 Reviewed by: freebsd-multimedia mailing list, "Steve O'Hara-Smith" <steve@sohara.org>, Anish Mistry <mistry.7@osu.edu>
Notes
Notes: svn path=/head/; revision=67821
Diffstat (limited to 'multimedia/ffmpeg-devel/files/patch-libavcodec::Makefile')
-rw-r--r--multimedia/ffmpeg-devel/files/patch-libavcodec::Makefile27
1 files changed, 19 insertions, 8 deletions
diff --git a/multimedia/ffmpeg-devel/files/patch-libavcodec::Makefile b/multimedia/ffmpeg-devel/files/patch-libavcodec::Makefile
index 383195e6f309..d760d0cee046 100644
--- a/multimedia/ffmpeg-devel/files/patch-libavcodec::Makefile
+++ b/multimedia/ffmpeg-devel/files/patch-libavcodec::Makefile
@@ -1,11 +1,22 @@
---- libavcodec/Makefile.orig Tue Sep 25 15:05:58 2001
-+++ libavcodec/Makefile Tue Sep 25 15:06:08 2001
-@@ -1,7 +1,6 @@
- include ../config.mak
+--- libavcodec/Makefile.orig Sun Oct 6 12:26:38 2002
++++ libavcodec/Makefile Wed Oct 9 14:24:34 2002
+@@ -7,8 +7,7 @@
+ VPATH=$(SRC_PATH)/libavcodec
--CFLAGS= $(OPTFLAGS) -Wall -g -DHAVE_AV_CONFIG_H
+ # NOTE: -I.. is needed to include config.h
+-CFLAGS= $(OPTFLAGS) -Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
-LDFLAGS= -g
-+CFLAGS= $(OPTFLAGS) -Wall -DHAVE_AV_CONFIG_H
++CFLAGS= $(OPTFLAGS) -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
- OBJS= common.o utils.o mpegvideo.o h263.o jrevdct.o jfdctfst.o \
- mpegaudio.o ac3enc.o mjpeg.o resample.o dsputil.o \
+ OBJS= common.o utils.o mem.o allcodecs.o \
+ mpegvideo.o h263.o jrevdct.o jfdctfst.o jfdctint.o\
+@@ -167,8 +166,7 @@
+ install: all
+ ifeq ($(BUILD_SHARED),yes)
+ install -d $(prefix)/lib
+- install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec-$(VERSION).so
+- ln -sf libavcodec-$(VERSION).so $(prefix)/lib/libavcodec.so
++ install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec.so
+ ldconfig || true
+ mkdir -p $(prefix)/include/ffmpeg
+ install -m 644 $(VPATH)/avcodec.h $(prefix)/include/ffmpeg/avcodec.h