pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/icecast Use PTHREAD_* variables to avoid passing...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20c4cfa3a976
branches:  trunk
changeset: 461037:20c4cfa3a976
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Sep 09 17:11:16 2003 +0000

description:
Use PTHREAD_* variables to avoid passing the unknown -pthreads flag to the
compiler.  Fixes PR pkg/19501.

diffstat:

 audio/icecast/Makefile         |   4 +++-
 audio/icecast/distinfo         |   4 ++--
 audio/icecast/patches/patch-ab |  17 +++++++++++++----
 3 files changed, 18 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r b36db82574f0 -r 20c4cfa3a976 audio/icecast/Makefile
--- a/audio/icecast/Makefile    Tue Sep 09 16:30:23 2003 +0000
+++ b/audio/icecast/Makefile    Tue Sep 09 17:11:16 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2003/07/17 21:22:24 grant Exp $
+# $NetBSD: Makefile,v 1.11 2003/09/09 17:11:16 jmmv Exp $
 #
 
 DISTNAME=      icecast-1.3.12
@@ -16,6 +16,8 @@
                        --with-python
 CPPFLAGS+=             -I${BUILDLINK_PREFIX.readline}/include/readline
 CPPFLAGS+=             ${BUILDLINK_CPPFLAGS.${PYPACKAGE}}
+CFLAGS+=               ${PTHREAD_CFLAGS}
+LDFLAGS+=              ${PTHREAD_LDFLAGS}
 LDFLAGS+=              ${BUILDLINK_LDFLAGS.${PYPACKAGE}}
 LIBS+=                 -lutil
 PTHREAD_OPTS+=         native
diff -r b36db82574f0 -r 20c4cfa3a976 audio/icecast/distinfo
--- a/audio/icecast/distinfo    Tue Sep 09 16:30:23 2003 +0000
+++ b/audio/icecast/distinfo    Tue Sep 09 17:11:16 2003 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2002/05/15 07:28:51 martti Exp $
+$NetBSD: distinfo,v 1.6 2003/09/09 17:11:16 jmmv Exp $
 
 SHA1 (icecast-1.3.12.tar.gz) = bacb760390453718de536b85979ff3a9a73c7710
 Size (icecast-1.3.12.tar.gz) = 269822 bytes
 SHA1 (patch-aa) = 169202f563e4e2812d8d532264dcdb4f9ffc8df2
-SHA1 (patch-ab) = 80d2bb39512bffadf8015e6804a32212762b8294
+SHA1 (patch-ab) = a1039a552874ffcfc8fc25b867e259bf14aa46cc
diff -r b36db82574f0 -r 20c4cfa3a976 audio/icecast/patches/patch-ab
--- a/audio/icecast/patches/patch-ab    Tue Sep 09 16:30:23 2003 +0000
+++ b/audio/icecast/patches/patch-ab    Tue Sep 09 17:11:16 2003 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.2 2002/05/15 07:28:52 martti Exp $
+$NetBSD: patch-ab,v 1.3 2003/09/09 17:11:17 jmmv Exp $
 
---- configure.orig     Thu Apr 11 00:50:20 2002
-+++ configure  Wed May 15 09:22:11 2002
-@@ -877,15 +877,15 @@
+--- configure.orig     2002-04-11 00:50:20.000000000 +0200
++++ configure
+@@ -877,15 +877,15 @@ else
        ICECAST_BINDIR=${prefix}/bin
        ICECAST_SBINDIR=${prefix}/bin
        ICECAST_ETCDIR=conf
@@ -23,3 +23,12 @@
        USE_FSSTD=no
  fi
  
+@@ -1540,7 +1540,7 @@ EOF
+ 
+               echo "$ac_t""BSD/OS" 1>&6
+               ;;
+-      *BSD*)
++      unused)
+               __SOMEBSD__=yes
+               cat >> confdefs.h <<\EOF
+ #define __SOMEBSD__ 1



Home | Main Index | Thread Index | Old Index