From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 29 09:50:21 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BE8316A4CF for ; Sun, 29 Feb 2004 09:50:21 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1307A43D31 for ; Sun, 29 Feb 2004 09:50:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1THoKbv097994 for ; Sun, 29 Feb 2004 09:50:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1THoKeJ097993; Sun, 29 Feb 2004 09:50:20 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 29 Feb 2004 09:50:20 -0800 (PST) Resent-Message-Id: <200402291750.i1THoKeJ097993@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Craig Rodrigues Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CFEB16A4CE for ; Sun, 29 Feb 2004 09:43:40 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A8F443D1D for ; Sun, 29 Feb 2004 09:43:40 -0800 (PST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: from dibbler.crodrigues.org (h00609772adf0.ne.client2.attbi.com[66.31.45.197]) by comcast.net (rwcrmhc12) with ESMTP id <2004022917433901400o8531e>; Sun, 29 Feb 2004 17:43:39 +0000 Received: from dibbler.crodrigues.org (localhost.crodrigues.org [127.0.0.1]) i1THhbPQ044613; Sun, 29 Feb 2004 12:43:38 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.crodrigues.org (8.12.11/8.12.10/Submit) id i1THhbcp044612; Sun, 29 Feb 2004 12:43:37 -0500 (EST) (envelope-from rodrigc) Message-Id: <200402291743.i1THhbcp044612@dibbler.crodrigues.org> Date: Sun, 29 Feb 2004 12:43:37 -0500 (EST) From: Craig Rodrigues To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: kay_lehmann@web.de Subject: ports/63538: audio/xmms-kj, respect PTHREAD_LIBS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Craig Rodrigues List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 17:50:21 -0000 >Number: 63538 >Category: ports >Synopsis: audio/xmms-kj, respect PTHREAD_LIBS >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Feb 29 09:50:20 PST 2004 >Closed-Date: >Last-Modified: >Originator: Craig Rodrigues >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD dibbler.crodrigues.org 5.2-CURRENT FreeBSD 5.2-CURRENT #37 >Description: audio/xmms-kj does not respect PTHREAD_LIBS. This patch fixes it. >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/xmms-kj/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 19 Feb 2004 09:33:38 -0000 1.4 +++ Makefile 29 Feb 2004 17:40:06 -0000 @@ -23,17 +23,19 @@ USE_X_PREFIX= yes USE_GNOME= gtk12 +USE_REINPLACE= yes .include -.if ${OSVERSION} >= 502102 -FORBIDDEN= "Does not respect PTHREAD_{CFLAGS,LIBS}" -.endif +pre-patch: + ${REINPLACE_CMD} -e 's/PTHREAD_LIBS/ ${PTHREAD_LIBS}/g' \ + ${PATCHDIR}/patch-aa + ${RM} -f ${PATCHDIR}/*.bak do-build: - cd ${WRKSRC} && make + cd ${WRKSRC} && $(MAKE) do-install: - cd ${WRKSRC} && make install + cd ${WRKSRC} && $(MAKE) install .include Index: files/patch-aa =================================================================== RCS file: /home/ncvs/ports/audio/xmms-kj/files/patch-aa,v retrieving revision 1.2 diff -u -r1.2 patch-aa --- files/patch-aa 8 Feb 2004 21:58:30 -0000 1.2 +++ files/patch-aa 29 Feb 2004 17:40:06 -0000 @@ -10,7 +10,7 @@ LDFLAGS=-O2 # LIBS=-L/usr/lib `gtk-config --libs` $(LPNG) -lgthread -lpthread -lxmms -Wl,--rpath -Wl,/usr/local/lib -LIBS=`xmms-config --libs` $(LPNG) -+LIBS=`xmms-config --libs` $(LPNG) -lc_r ++LIBS=`xmms-config --libs` $(LPNG) PTHREAD_LIBS OBJS=kj.o resource.o config.o image.o playlist.o CC=gcc >Release-Note: >Audit-Trail: >Unformatted: