$OpenBSD: patch-libavformat_Makefile,v 1.11 2006/03/20 05:50:49 jakemsr Exp $
--- libavformat/Makefile.orig	Tue Feb 28 00:11:51 2006
+++ libavformat/Makefile	Tue Feb 28 00:18:50 2006
@@ -66,7 +66,7 @@ ifeq ($(CONFIG_AUDIO_OSS),yes)
 OBJS+= audio.o
 endif
 
-EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec
+# EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec
 
 ifeq ($(CONFIG_AUDIO_BEOS),yes)
 CPPOBJS+= beosaudio.o
@@ -93,7 +93,7 @@ endif
 NAME=avformat
 SUBDIR=libavformat
 ifeq ($(BUILD_SHARED),yes)
-LIBVERSION=$(LAVFVERSION)
+LIBVERSION='$(LIBavformat_VERSION)'
 LIBMAJOR=$(LAVFMAJOR)
 endif
 
