From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 25 15:20:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E5E41065671 for ; Sat, 25 Oct 2008 15:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 484908FC13 for ; Sat, 25 Oct 2008 15:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9PFK1nM022785 for ; Sat, 25 Oct 2008 15:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9PFK1kk022784; Sat, 25 Oct 2008 15:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 25 Oct 2008 15:20:01 GMT Resent-Message-Id: <200810251520.m9PFK1kk022784@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, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 554EB106566C for ; Sat, 25 Oct 2008 15:15:56 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 0E73A8FC16 for ; Sat, 25 Oct 2008 15:15:55 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Ktkrs-0005il-88; Sat, 25 Oct 2008 19:15:56 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id B0B05123FF; Sat, 25 Oct 2008 19:15:43 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id A1A891702D; Sat, 25 Oct 2008 19:16:15 +0400 (MSD) Message-Id: <20081025151615.A1A891702D@hades.panopticon> Date: Sat, 25 Oct 2008 19:16:15 +0400 (MSD) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: votdev@gmx.de Subject: ports/128368: [PATCH] net/ushare: fix build on 6.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2008 15:20:01 -0000 >Number: 128368 >Category: ports >Synopsis: [PATCH] net/ushare: fix build on 6.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 25 15:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 7.0-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #1: Wed Jun 25 15:36:22 MSD 2008 >Description: I've got a report of build failure on FreeBSD 6.1 (althrough it built fine in my tinderbox on 6.3, 7.0 and current): --- ... gmake[1]: Entering directory `/usr/ports/net/ushare/work/ushare-1.1a/src' cc -I.. -MM -O2 -fno-strict-aliasing -pipe cds.c cms.c msr.c http.c presentation.c metadata.c mime.c services.c buffer.c util_iconv.c content.c cfgparser.c trace.c redblack.c osdep.c ctrl_telnet.c ushare.c 1>.depend cds.c:23:23: upnp/upnp.h: No such file or directory cds.c:24:28: upnp/upnptools.h: No such file or directory cms.c:23:23: upnp/upnp.h: No such file or directory ... --- The cause is incorrect passing of CFLAGS to configure, the attached patch fixes the problem. Port maintainer (votdev@gmx.de) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- ushare-1.1a.patch begins here --- Index: Makefile =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/net/ushare/Makefile,v retrieving revision 1.12 diff -u -u -r1.12 Makefile --- Makefile 23 Oct 2008 12:39:25 -0000 1.12 +++ Makefile 25 Oct 2008 11:25:00 -0000 @@ -20,8 +20,9 @@ USE_GMAKE= yes USE_GNOME= pkgconfig USE_GETTEXT= yes -CONFIGURE_ENV+= CFLAGS="${PTHREAD_LIBS} -I${LOCALBASE}/include -I${WRKSRC}" \ - LDFLAGS="-L${LOCALBASE}/lib -lintl" +CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -lintl" + +CFLAGS+= -I${LOCALBASE}/include -I${WRKSRC} PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.sample etc/rc.d/${PORTNAME} MAN1= ${PORTNAME}.1 --- ushare-1.1a.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: