Accepting request 232948 from multimedia:libs

- Modify libmikmod-config.patch to also remove pthreads stuff from
  cflags and ldadd. Now it's "equivalent" to the .pc file.

- Add libmikmod-config.patch:
  Remove @LIBRARY_LIB@ from libmikmod-config, which is only needed for
  static linking, which is not possible anyway

OBS-URL: https://build.opensuse.org/request/show/232948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmikmod?expand=0&rev=31
This commit is contained in:
Stephan Kulow 2014-05-08 10:38:44 +00:00 committed by Git OBS Bridge
commit 9b2e910546
3 changed files with 36 additions and 0 deletions

21
libmikmod-config.patch Normal file
View File

@ -0,0 +1,21 @@
Index: libmikmod-config.in
===================================================================
--- libmikmod-config.in.orig
+++ libmikmod-config.in
@@ -44,13 +44,13 @@ while test $# -gt 0 ; do
if test $includedir != /usr/include ; then
includes=-I$includedir
fi
- echo $includes @REENTRANT@
+ echo $includes
;;
--ldadd)
- echo @LIB_LDADD@
+ echo
;;
--libs)
- echo -L@libdir@ -lmikmod @LIBRARY_LIB@
+ echo -lmikmod
;;
*)
echo "${usage}" 1>&2

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed May 7 14:41:18 UTC 2014 - reddwarf@opensuse.org
- Modify libmikmod-config.patch to also remove pthreads stuff from
cflags and ldadd. Now it's "equivalent" to the .pc file.
-------------------------------------------------------------------
Tue May 6 09:22:13 UTC 2014 - schwab@suse.de
- Add libmikmod-config.patch:
Remove @LIBRARY_LIB@ from libmikmod-config, which is only needed for
static linking, which is not possible anyway
-------------------------------------------------------------------
Mon Apr 7 10:39:46 UTC 2014 - idonmez@suse.com

View File

@ -30,6 +30,7 @@ Version: 3.3.6
Release: 0
Source: http://sourceforge.net/projects/mikmod/files/%{name}/%{version}/%{name}-%{version}.tar.gz
Source1: baselibs.conf
Patch1: libmikmod-config.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -84,6 +85,7 @@ mtm, xm, and it.
%prep
%setup -q
%patch1
%build
%configure --disable-static --disable-oss