ports/62988: [maintainer] sysutils/linneighborhood: Add PTHREAD_{LIBS,CFLAGS} support
Simon Barner
barner at in.tum.de
Wed Feb 18 01:50:11 UTC 2004
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list