openbsd-ports/audio/deadbeef/patches/patch-plugins_ffmpeg_Makefile_am
shadchin 92009531de Changes proposed by aja@:
* add @comment for the libtool la files corresponding to modules
* fix RUN_DEPENDS
* add '${CONFIGURE_SHARED} --disable-static' in CONFIGURE_ARGS
* remove post-install hack, add the -avoid-version libtool option in the
  corresponding Makefile(s).

ok aja@, dcoppa@
2012-08-10 17:25:01 +00:00

13 lines
506 B
Plaintext

$OpenBSD: patch-plugins_ffmpeg_Makefile_am,v 1.1 2012/08/10 17:25:01 shadchin Exp $
--- plugins/ffmpeg/Makefile.am.orig Thu Aug 9 23:43:43 2012
+++ plugins/ffmpeg/Makefile.am Thu Aug 9 23:43:51 2012
@@ -2,7 +2,7 @@ if HAVE_FFMPEG
ffmpegdir = $(libdir)/$(PACKAGE)
pkglib_LTLIBRARIES = ffmpeg.la
ffmpeg_la_SOURCES = ffmpeg.c
-ffmpeg_la_LDFLAGS = -module
+ffmpeg_la_LDFLAGS = -module -avoid-version
ffmpeg_la_LIBADD = $(LDADD) $(FFMPEG_DEPS_LIBS)
AM_CFLAGS = $(CFLAGS) -std=c99 ${FFMPEG_DEPS_CFLAGS}