From f19a0941f049d678ea752627e056c23a7133c3cc Mon Sep 17 00:00:00 2001 From: jmmv Date: Tue, 9 Sep 2003 17:11:16 +0000 Subject: Use PTHREAD_* variables to avoid passing the unknown -pthreads flag to the compiler. Fixes PR pkg/19501. --- audio/icecast/Makefile | 4 +++- audio/icecast/distinfo | 4 ++-- audio/icecast/patches/patch-ab | 17 +++++++++++++---- 3 files changed, 18 insertions(+), 7 deletions(-) (limited to 'audio/icecast') diff --git a/audio/icecast/Makefile b/audio/icecast/Makefile index bb424849a24..4106c01a7b7 100644 --- a/audio/icecast/Makefile +++ b/audio/icecast/Makefile @@ -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 @@ CONFIGURE_ARGS+= --with-readline \ --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 --git a/audio/icecast/distinfo b/audio/icecast/distinfo index 0afb64dc295..65727063d7e 100644 --- a/audio/icecast/distinfo +++ b/audio/icecast/distinfo @@ -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 --git a/audio/icecast/patches/patch-ab b/audio/icecast/patches/patch-ab index 72939b486e2..c02719a2ae7 100644 --- a/audio/icecast/patches/patch-ab +++ b/audio/icecast/patches/patch-ab @@ -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 @@ $NetBSD: patch-ab,v 1.2 2002/05/15 07:28:52 martti Exp $ 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 -- cgit v1.2.3