$OpenBSD: patch-libavformat_Makefile,v 1.12 2007/01/23 09:34:45 robert Exp $
--- libavformat/Makefile.orig	Sun Dec 24 06:51:43 2006
+++ libavformat/Makefile	Tue Jan  2 18:22:01 2007
@@ -195,7 +195,7 @@ OBJS += $(OBJS-yes)
 
 NAME=avformat
 ifeq ($(BUILD_SHARED),yes)
-LIBVERSION=$(LAVFVERSION)
+LIBVERSION=$(LIBavformat_VERSION)
 LIBMAJOR=$(LAVFMAJOR)
 endif
 
