From nobody@FreeBSD.org  Tue Feb  4 12:54:26 2014
Return-Path: <nobody@FreeBSD.org>
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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <stl@koffein.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphics/mapnik does not build due to missing include/library paths
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: littlesavage@rambler.ru

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 04 13:00:00 UTC 2014
>Closed-Date:    Sun Mar 09 09:59:59 UTC 2014
>Last-Modified:  Sun Mar  9 10:00:01 UTC 2014
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Feb 4 13:00:09 UTC 2014 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186450 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: littlesavage@rambler.ru
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/186450: graphics/mapnik does not build due to missing include/library paths
Date: Tue, 4 Feb 2014 13:00:08 UT

 Maintainer of graphics/mapnik,
 
 Please note that PR ports/186450 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186450
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Aleksey Illarionov <littlesavage@rambler.ru>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/186450: graphics/mapnik does not build due to missing include/library
 paths
Date: Fri, 07 Feb 2014 23:02:10 +0400

 Hi,
 
 Approved!
State-Changed-From-To: feedback->open 
State-Changed-By: marino 
State-Changed-When: Sun Mar 9 09:39:56 UTC 2014 
State-Changed-Why:  
Maintainer has approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186450 
State-Changed-From-To: open->closed 
State-Changed-By: marino 
State-Changed-When: Sun Mar 9 09:59:59 UTC 2014 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186450 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/186450: commit references a PR
Date: Sun,  9 Mar 2014 09:51:39 +0000 (UTC)

 Author: marino
 Date: Sun Mar  9 09:51:32 2014
 New Revision: 347561
 URL: http://svnweb.freebsd.org/changeset/ports/347561
 QAT: https://qat.redports.org/buildarchive/r347561/
 
 Log:
   graphics/mapnik: Attempted unbreak on FreeBSD 10+
   
   PR:		ports/186450
   submitted by:	Steven Lawrance
   approved by:	maintainer (Aleksey Illarionov)
 
 Modified:
   head/graphics/mapnik/Makefile
 
 Modified: head/graphics/mapnik/Makefile
 ==============================================================================
 --- head/graphics/mapnik/Makefile	Sun Mar  9 09:39:50 2014	(r347560)
 +++ head/graphics/mapnik/Makefile	Sun Mar  9 09:51:32 2014	(r347561)
 @@ -4,7 +4,7 @@
  PORTNAME=	mapnik
  PORTVERSION=	2.2.0
  DISTVERSIONPREFIX=	v
 -PORTREVISION=	3
 +PORTREVISION=	4
  CATEGORIES=	graphics geography
  MASTER_SITES=	http://mapnik.s3.amazonaws.com/dist/v${PORTVERSION}/
  
 @@ -116,6 +116,9 @@ MAKE_ARGS+=	TIFF=False
  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}
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
