openbsd-ports/graphics/ffmpeg/patches/patch-libavcodec_Makefile

25 lines
806 B
Plaintext
Raw Normal View History

$OpenBSD: patch-libavcodec_Makefile,v 1.12 2006/03/20 05:50:49 jakemsr Exp $
--- libavcodec/Makefile.orig Tue Feb 28 00:11:44 2006
+++ libavcodec/Makefile Tue Feb 28 00:21:33 2006
@@ -282,7 +282,7 @@ OBJS+= liba52/bit_allocate.o liba52/bits
endif
endif
-EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF)
+# EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF)
# currently using libdts for dts decoding
ifeq ($(CONFIG_DTS),yes)
@@ -396,9 +396,9 @@ endif
2005-12-31 03:45:56 -05:00
NAME=avcodec
SUBDIR=libavcodec
-LIBAVUTIL= $(SRC_PATH)/libavutil/$(LIBPREF)avutil$(LIBSUF)
+LIBAVUTIL= $(SRC_PATH)/libavutil/$(LIBPREF)avutil$(LIBSUF).$(LIBavutil_VERSION)
2003-08-15 10:25:08 -04:00
ifeq ($(BUILD_SHARED),yes)
-LIBVERSION=$(LAVCVERSION)
+LIBVERSION='$(LIBavcodec_VERSION)'
LIBMAJOR=$(LAVCMAJOR)
2003-08-15 10:25:08 -04:00
endif
TESTS= imgresample-test dct-test motion-test fft-test