$OpenBSD: patch-libavformat_Makefile,v 1.14 2007/09/24 07:51:24 jakemsr Exp $ --- libavformat/Makefile.orig Mon Sep 10 19:18:10 2007 +++ libavformat/Makefile Mon Sep 10 19:53:09 2007 @@ -160,8 +160,9 @@ OBJS-$(CONFIG_LIBNUT_MUXER) += libnut.o r OBJS-$(CONFIG_VHOOK) += framehook.o -EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) \ +#EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) \ -lavcodec$(BUILDSUF) -L$(BUILD_ROOT)/libavcodec $(EXTRALIBS) +EXTRALIBS=${LIBavformat_EXTRALIBS} CPPOBJS-$(CONFIG_AUDIO_BEOS_DEMUXER) += beosaudio.o CPPOBJS-$(CONFIG_AUDIO_BEOS_MUXER) += beosaudio.o @@ -177,7 +178,7 @@ OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o NAME=avformat -LIBVERSION=$(LAVFVERSION) +LIBVERSION=$(LIBavformat_VERSION) LIBMAJOR=$(LAVFMAJOR) include ../common.mak