From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 17 17:50:11 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 61FFD16A4CE for ; Tue, 17 Feb 2004 17:50:11 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47E8143D1F for ; Tue, 17 Feb 2004 17:50:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1I1oBbv009415 for ; Tue, 17 Feb 2004 17:50:11 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1I1oBQi009414; Tue, 17 Feb 2004 17:50:11 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 17 Feb 2004 17:50:11 -0800 (PST) Resent-Message-Id: <200402180150.i1I1oBQi009414@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, Simon Barner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACC8116A4CE for ; Tue, 17 Feb 2004 17:47:51 -0800 (PST) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D5E343D1D for ; Tue, 17 Feb 2004 17:47:51 -0800 (PST) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 4DBAA9BA1; Wed, 18 Feb 2004 02:47:50 +0100 (CET) Message-Id: <20040218014750.4DBAA9BA1@zi025.glhnet.mhn.de> Date: Wed, 18 Feb 2004 02:47:50 +0100 (CET) From: Simon Barner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/62988: [maintainer] sysutils/linneighborhood: Add PTHREAD_{LIBS,CFLAGS} support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Simon Barner List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 01:50:11 -0000 >Number: 62988 >Category: ports >Synopsis: [maintainer] sysutils/linneighborhood: Add PTHREAD_{LIBS,CFLAGS} support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Feb 17 17:50:10 PST 2004 >Closed-Date: >Last-Modified: >Originator: Simon Barner >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: >Environment: System: FreeBSD zi025.glhnet.mhn.de 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1: Thu Sep 4 20:49:53 CEST 2003 simon@zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386 >Description: This port did not respect the new PTHREAD_{LIBS,CFLAGS} variables, which are necessary on recent versions of FreeBSD. Additionally, the port's `configure' script now detects libintl.h correctly. I don't know whether the ports revsion should be bumped for the PTHREAD issue (the libintl.h thing surely isn't worth it). Dear committer, it's up to you ;-) >How-To-Repeat: N/A >Fix: Index: linneighborhood/Makefile =================================================================== RCS file: /home/ncvs/ports/sysutils/linneighborhood/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- linneighborhood/Makefile 17 Feb 2004 20:11:23 -0000 1.8 +++ linneighborhood/Makefile 18 Feb 2004 01:39:00 -0000 @@ -1,5 +1,4 @@ # New ports collection makefile for: LinNeighborhood -# Please read files/porters-note! # Date created: 2003/04/06 # Whom: Heiner # @@ -21,14 +20,13 @@ USE_GMAKE= yes USE_GNOME= gtk12 USE_REINPLACE= yes -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"\ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"\ + CC="${CC} -I${LOCALBASE}/include" +# ^ +# this was done intentionaly in order to make `configure' pick up libintl.h .include - -.if ${OSVERSION} >= 502102 -FORBIDDEN= "Does not respect PTHREAD_{CFLAGS,LIBS}" -.endif post-patch: ${CP} ${FILESDIR}/mntent* ${WRKSRC}/src >Release-Note: >Audit-Trail: >Unformatted: