Don't try to link to libdl unconditionally, use dlopen_lib from portability eclass.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Mon, 19 Sep 2005 00:03:19 +0000 (00:03 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Mon, 19 Sep 2005 00:03:19 +0000 (00:03 +0000)
Package-Manager: portage-2.0.52-r1

media-sound/awesfx/ChangeLog
media-sound/awesfx/Manifest
media-sound/awesfx/awesfx-0.5.0c.ebuild
media-sound/awesfx/awesfx-0.5.0d.ebuild

index faed623e8285d2c5a9ef4d6d13dd30ee4b1be2ee..5eef0187a9b17c00292c780eb1765c0fd7e973cd 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for media-sound/awesfx
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/ChangeLog,v 1.16 2004/12/19 05:36:11 eradicator Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/ChangeLog,v 1.17 2005/09/19 00:03:19 flameeyes Exp $
+
+  19 Sep 2005; Diego Pettenò <flameeyes@gentoo.org> awesfx-0.5.0c.ebuild,
+  awesfx-0.5.0d.ebuild:
+  Don't try to link to libdl unconditionally, use dlopen_lib from portability
+  eclass.
 
   18 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
   awesfx-0.5.0d.ebuild:
index 6131020a190d5513ceddda340657cd0ed93397f7..4e3fc80cefa3c3c40ae5fe842666d812885ad100 100644 (file)
@@ -1,18 +1,18 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 7fa4072d477eeadb06a63aa4d378d748 awesfx-0.5.0d.ebuild 1254
-MD5 9e78f5e9adfd6eb6730d0e6065951a50 ChangeLog 1932
+MD5 a74d0ace4a10bb444f1c0a2972e96a7f awesfx-0.5.0c.ebuild 1275
+MD5 6a3801726b0073f12ab43ff0af1c80be ChangeLog 2119
+MD5 5f3d314fe7cc4940884de1dd700d27f9 awesfx-0.5.0d.ebuild 1274
 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
-MD5 dfd5307d4b79d0f895c8b2ee0b1d59e9 awesfx-0.5.0c.ebuild 1255
-MD5 f2718083317de4e006954291d3da6f4e files/awesfx-0.5.0b-configure-noalsa.patch 7814
+MD5 413587b49e630a9b899620cc979a5a5d files/digest-awesfx-0.5.0c 65
 MD5 a2f1d07a053240ebc621d1834c928e6f files/awesfx-0.5.0b-makefile-noalsa.patch 3507
+MD5 f2718083317de4e006954291d3da6f4e files/awesfx-0.5.0b-configure-noalsa.patch 7814
 MD5 a1f68aeea912a0dfbc5ed004d02b2bda files/digest-awesfx-0.5.0d 65
-MD5 413587b49e630a9b899620cc979a5a5d files/digest-awesfx-0.5.0c 65
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFBxRNmArHZZzCEUG0RArXtAJ9v/0c1OTeBqsbkmfmVPO9F98C88QCfVTTm
-oeiFsduuth7gFdErNj+RmZU=
-=2FwN
+iD8DBQFDLgBuj5H05b2HAEkRArP3AJ9RPi6Q6SjAJqt8hyXt2QqFycaJ+QCeNHGw
+oDsrpaA5awm46NtERsCM1eI=
+=QgKm
 -----END PGP SIGNATURE-----
index 17ec9ed3f46fca95818df9f287563e7a7a54a519..a05d36be8b919c99913d7f0be686bbdb16e8c0c0 100644 (file)
@@ -1,10 +1,10 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/awesfx-0.5.0c.ebuild,v 1.4 2004/12/08 12:05:53 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/awesfx-0.5.0c.ebuild,v 1.5 2005/09/19 00:03:19 flameeyes Exp $
 
 IUSE="alsa"
 
-inherit eutils
+inherit eutils portability
 
 DESCRIPTION="AWE Utilities - sfxload"
 HOMEPAGE="http://www.alsa-project.org/~iwai/awedrv.html#Utils"
@@ -25,7 +25,7 @@ src_compile() {
                epatch ${FILESDIR}/${PN}-0.5.0b-configure-noalsa.patch
                econf --with-sfpath=${BANK_LOC} || die
                epatch ${FILESDIR}/${PN}-0.5.0b-makefile-noalsa.patch
-               sed -i -e 's/'^LIBS.*-lasound.*$'/LIBS = -lm -ldl -lpthread/' Makefile
+               sed -i -e 's/'^LIBS.*-lasound.*$'/LIBS = -lm $(dlopen_lib) -lpthread/' Makefile
        else
                econf --with-sfpath=${BANK_LOC} || die
        fi
index 4a27d261842033b748be99057634361eaab8a164..f469e58fd7647682ccb8b03cf54e9fcb61616c3b 100644 (file)
@@ -1,10 +1,10 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/awesfx-0.5.0d.ebuild,v 1.2 2004/12/19 05:36:11 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/awesfx-0.5.0d.ebuild,v 1.3 2005/09/19 00:03:19 flameeyes Exp $
 
 IUSE="alsa"
 
-inherit eutils
+inherit eutils portability
 
 DESCRIPTION="AWE Utilities - sfxload"
 HOMEPAGE="http://www.alsa-project.org/~iwai/awedrv.html#Utils"
@@ -25,7 +25,7 @@ src_compile() {
                epatch ${FILESDIR}/${PN}-0.5.0b-configure-noalsa.patch
                econf --with-sfpath=${BANK_LOC} || die
                epatch ${FILESDIR}/${PN}-0.5.0b-makefile-noalsa.patch
-               sed -i -e 's/'^LIBS.*-lasound.*$'/LIBS = -lm -ldl -lpthread/' Makefile
+               sed -i -e 's/'^LIBS.*-lasound.*$'/LIBS = -lm $(dlopen_lib) -lpthread/' Makefile
        else
                econf --with-sfpath=${BANK_LOC} || die
        fi