Correct the pkg-config file for static vs shared library linking.

Bulk build tested by landry@/sthen@

ok sthen@
This commit is contained in:
brad 2013-11-15 23:51:39 +00:00
parent bfc266133c
commit b0765d0b78
2 changed files with 8 additions and 9 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.44 2013/03/21 08:45:16 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.45 2013/11/15 23:51:39 brad Exp $
COMMENT= SDL multi-channel audio mixer library
DISTNAME= SDL_mixer-1.2.12
PKGNAME= ${DISTNAME:L:S/_/-/}
REVISION= 0
REVISION= 1
CATEGORIES= devel audio
MASTER_SITES= ${HOMEPAGE}release/

View File

@ -1,11 +1,10 @@
$OpenBSD: patch-SDL_mixer_pc_in,v 1.1 2010/07/30 20:00:26 jolan Exp $
--- SDL_mixer.pc.in.orig Fri Jul 9 20:54:09 2010
+++ SDL_mixer.pc.in Fri Jul 9 20:55:07 2010
@@ -7,6 +7,6 @@ Name: SDL_mixer
Description: mixer library for Simple DirectMedia Layer
$OpenBSD: patch-SDL_mixer_pc_in,v 1.2 2013/11/15 23:51:39 brad Exp $
--- SDL_mixer.pc.in.orig Sun Jan 15 17:01:04 2012
+++ SDL_mixer.pc.in Fri Nov 1 03:23:32 2013
@@ -8,5 +8,6 @@ Description: mixer library for Simple DirectMedia Laye
Version: @VERSION@
Requires: sdl >= @SDL_VERSION@
-Libs: -L${libdir} -lSDL_mixer
+Libs: -L${libdir} -lSDL_mixer -lmikmod -lvorbisfile -lvorbis -lFLAC -logg -lsmpeg -lm
Libs: -L${libdir} -lSDL_mixer
+Libs.private: -lmikmod -lvorbisfile -lvorbis -lFLAC -logg -lsmpeg -lm
Cflags: -I${includedir}/SDL