diff options
author | joerg <joerg@pkgsrc.org> | 2006-12-20 00:35:10 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-12-20 00:35:10 +0000 |
commit | ab4b6f3a1e4e951e45b2a7e00e54d2e48ff1bdd7 (patch) | |
tree | 9dcba31e6f08fb6736d335edaa00a547992436a9 /audio/snd | |
parent | 5142fb86bfcac1c049735de37d779902861129ec (diff) | |
download | pkgsrc-ab4b6f3a1e4e951e45b2a7e00e54d2e48ff1bdd7.tar.gz |
Use dlopen.b3.mk magic instead of hardwired -ldl for those platforms
which don't need it.
Diffstat (limited to 'audio/snd')
-rw-r--r-- | audio/snd/Makefile | 3 | ||||
-rw-r--r-- | audio/snd/distinfo | 3 | ||||
-rw-r--r-- | audio/snd/patches/patch-aa | 13 |
3 files changed, 17 insertions, 2 deletions
diff --git a/audio/snd/Makefile b/audio/snd/Makefile index 997361aa9c5..874d023db1b 100644 --- a/audio/snd/Makefile +++ b/audio/snd/Makefile @@ -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 @@ post-install: .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 --git a/audio/snd/distinfo b/audio/snd/distinfo index b502af01fbd..29bcc4a4e0d 100644 --- a/audio/snd/distinfo +++ b/audio/snd/distinfo @@ -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 --git a/audio/snd/patches/patch-aa b/audio/snd/patches/patch-aa new file mode 100644 index 00000000000..19f18647977 --- /dev/null +++ b/audio/snd/patches/patch-aa @@ -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;} |