From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 4 13:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5401E57 for ; Tue, 4 Feb 2014 13:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9F5931987 for ; Tue, 4 Feb 2014 13:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s14D00lB018872 for ; Tue, 4 Feb 2014 13:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s14D00EX018871; Tue, 4 Feb 2014 13:00:00 GMT (envelope-from gnats) Resent-Date: Tue, 4 Feb 2014 13:00:00 GMT Resent-Message-Id: <201402041300.s14D00EX018871@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, Steven Lawrance Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2CDACB2 for ; Tue, 4 Feb 2014 12:54:26 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9C5FD1935 for ; Tue, 4 Feb 2014 12:54:26 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s14CsQD9061951 for ; Tue, 4 Feb 2014 12:54:26 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s14CsQcu061944; Tue, 4 Feb 2014 12:54:26 GMT (envelope-from nobody) Message-Id: <201402041254.s14CsQcu061944@oldred.freebsd.org> Date: Tue, 4 Feb 2014 12:54:26 GMT From: Steven Lawrance To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/186450: graphics/mapnik does not build due to missing include/library paths X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 13:00:00 -0000 >Number: 186450 >Category: ports >Synopsis: graphics/mapnik does not build due to missing include/library paths >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: Tue Feb 04 13:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Steven Lawrance >Release: head >Organization: >Environment: FreeBSD luwak.koffein.net 11.0-CURRENT FreeBSD 11.0-CURRENT #20 r260701M: Thu Jan 16 11:11:56 CET 2014 stl@luwak.koffein.net:/usr/obj/usr/src/sys/LUWAK amd64 >Description: Configuring mapnik failes ("the following required dependencies were not found": icuuc, jpeg, proj, png, tiff..) because it does not know to look in /usr/local/{include,lib}. >How-To-Repeat: (cd /usr/ports/graphics/mapnik && make) >Fix: mapnik-v2.2.0/SConstruct suggests to specify the paths in CUSTOM_{C,CXX,LD}FLAGS, as done in the attached patch. Patch attached with submission follows: --- Makefile.orig 2014-02-04 13:03:01.875873396 +0100 +++ Makefile 2014-02-04 13:41:19.343715359 +0100 @@ -116,6 +116,9 @@ IGNORE= does not install: runs out of virtual memory .endif +MAKE_ARGS+= CUSTOM_CFLAGS=-I${LOCALBASE}/include +MAKE_ARGS+= CUSTOM_CXXFLAGS=-I${LOCALBASE}/include +MAKE_ARGS+= CUSTOM_LDFLAGS=-L${LOCALBASE}/lib MAKE_ARGS+= WARNING_CXXFLAGS=${WARNING_CXXFLAGS} MAKE_ARGS+= INPUT_PLUGINS="`${ECHO} ${INPUT_PLUGINS} | ${TR} ' ' ,`" MAKE_ARGS+= JOBS=${MAKE_JOBS_NUMBER} >Release-Note: >Audit-Trail: >Unformatted: