pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/snd Use dlopen.b3.mk magic instead of hardwired ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/761935dfc3e6
branches: trunk
changeset: 522747:761935dfc3e6
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Dec 20 00:35:10 2006 +0000
description:
Use dlopen.b3.mk magic instead of hardwired -ldl for those platforms
which don't need it.
diffstat:
audio/snd/Makefile | 3 ++-
audio/snd/distinfo | 3 ++-
audio/snd/patches/patch-aa | 13 +++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diffs (44 lines):
diff -r 318b5181e3bc -r 761935dfc3e6 audio/snd/Makefile
--- a/audio/snd/Makefile Wed Dec 20 00:00:58 2006 +0000
+++ b/audio/snd/Makefile Wed Dec 20 00:35:10 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2006/09/09 02:41:55 obache Exp $
+# $NetBSD: Makefile,v 1.49 2006/12/20 00:35:10 joerg Exp $
#
DISTNAME= snd-8.3
@@ -30,5 +30,6 @@
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../math/gsl/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 318b5181e3bc -r 761935dfc3e6 audio/snd/distinfo
--- a/audio/snd/distinfo Wed Dec 20 00:00:58 2006 +0000
+++ b/audio/snd/distinfo Wed Dec 20 00:35:10 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.12 2006/08/07 23:37:49 wiz Exp $
+$NetBSD: distinfo,v 1.13 2006/12/20 00:35:10 joerg Exp $
SHA1 (snd-8.3.tar.gz) = ce9143f6354b576800b44ba91d1f334dcdd49ed6
RMD160 (snd-8.3.tar.gz) = e9fb5ec5aa6b8025257a0256c726c3f5f1938d37
Size (snd-8.3.tar.gz) = 8035162 bytes
+SHA1 (patch-aa) = c0940f37c8455e7dcfac64d528c9baf545ba14b7
diff -r 318b5181e3bc -r 761935dfc3e6 audio/snd/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/snd/patches/patch-aa Wed Dec 20 00:35:10 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.4 2006/12/20 00:35:10 joerg Exp $
+
+--- configure.orig 2006-12-20 00:09:04.000000000 +0000
++++ configure
+@@ -25671,7 +25671,7 @@ fi
+ if test "$ac_snd_have_extension_language" = no ; then
+ if test "$ac_snd_have_gui" = no ; then
+ if test "$ac_cv_header_dlfcn_h" = yes ; then
+- LDFLAGS="$LDFLAGS -ldl"
++ LDFLAGS="$LDFLAGS ${DL_LDFLAGS} ${DL_LIBS}"
+ fi
+ { echo "$as_me:$LINENO: WARNING: Snd needs either an extension language (Guile or Ruby), or a graphics toolkit (Gtk or Motif), or preferably both. All four packages are available free,
normally prepackaged and ready-to-use. As currently configured, this version of Snd is useless." >&5
+ echo "$as_me: WARNING: Snd needs either an extension language (Guile or Ruby), or a graphics toolkit (Gtk or Motif), or preferably both. All four packages are available free, normally prepackaged
and ready-to-use. As currently configured, this version of Snd is useless." >&2;}
Home |
Main Index |
Thread Index |
Old Index