Date: Wed, 18 Feb 2004 02:47:50 +0100 (CET) From: Simon Barner <barner@in.tum.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62988: [maintainer] sysutils/linneighborhood: Add PTHREAD_{LIBS,CFLAGS} support Message-ID: <20040218014750.4DBAA9BA1@zi025.glhnet.mhn.de> Resent-Message-ID: <200402180150.i1I1oBQi009414@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <h.eichmann@gmx.de> # @@ -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 <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502102 -FORBIDDEN= "Does not respect PTHREAD_{CFLAGS,LIBS}" -.endif post-patch: ${CP} ${FILESDIR}/mntent* ${WRKSRC}/src >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040218014750.4DBAA9BA1>