$OpenBSD: patch-libavformat_Makefile,v 1.5 2003/11/04 07:50:19 jolan Exp $
--- libavformat/Makefile.orig	2003-09-28 10:26:40.000000000 -0500
+++ libavformat/Makefile	2003-11-03 22:20:14.000000000 -0600
@@ -65,6 +65,7 @@ endif
 LIB= $(LIBPREF)avformat$(LIBSUF)
 ifeq ($(BUILD_SHARED),yes)
 SLIB= $(SLIBPREF)avformat$(SLIBSUF)
+CFLAGS += ${PIC} -DPIC
 endif
 
 SRCS := $(OBJS:.o=.c) $(PPOBJS:.o=.cpp)
