From nobody@FreeBSD.org  Fri Dec 13 04:55:34 2013
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 7337E1EA
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Dec 2013 04:55:34 +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 5EC191E46
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Dec 2013 04:55:34 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rBD4tXnI078831
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Dec 2013 04:55:33 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rBD4tXmZ078825;
	Fri, 13 Dec 2013 04:55:33 GMT
	(envelope-from nobody)
Message-Id: <201312130455.rBD4tXmZ078825@oldred.freebsd.org>
Date: Fri, 13 Dec 2013 04:55:33 GMT
From: Erick Turnquist <jhujhiti@adjectivism.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: dns/validns fails to build with non-default LOCALBASE/PREFIX
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: umq@ueo.co.jp

>Number:         184739
>Category:       ports
>Synopsis:       dns/validns fails to build with non-default LOCALBASE/PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 13 05:00:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Fri Dec 13 05:10:02 UTC 2013
>Originator:     Erick Turnquist
>Release:        The weird upstream Makefile in this package requires two make variables to be set in order to find headers and libraries in non-obvious places (INCPATH for headers and EXTRALPATH for libraries). The port fails to build, unable to find Ju
>Organization:
>Environment:
The weird upstream Makefile in this package requires two make variables to be set in order to find headers and libraries in non-obvious places (INCPATH for headers and EXTRALPATH for libraries). The port fails to build, unable to find Judy.h (from devel/judy), when the LOCALBASE is not /usr/local. The attached patch sets these make arguments.
>Description:
The weird upstream Makefile in this package requires two make variables to be set in order to find headers and libraries in non-obvious places (INCPATH for headers and EXTRALPATH for libraries). The port fails to build, unable to find Judy.h (from devel/judy), when the LOCALBASE is not /usr/local. The attached patch sets these make arguments.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2013-12-12 23:38:52.403058851 -0500
+++ Makefile.patched	2013-12-12 23:44:20.681104716 -0500
@@ -21,6 +21,9 @@
 PORTDOCS=	Changes README installation.mdwn notes.mdwn \
 		technical-notes.mdwn todo.mdwn usage.mdwn
 
+MAKE_ARGS+=     INCPATH=-I${LOCALBASE}/include
+MAKE_ARGS+=     EXTRALPATH=-L${LOCALBASE}/lib
+
 NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 do-install:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Dec 13 05:00:08 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: umq@ueo.co.jp
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/184739: dns/validns fails to build with non-default LOCALBASE/PREFIX
Date: Fri, 13 Dec 2013 05:00:07 UT

 Maintainer of dns/validns,
 
 Please note that PR ports/184739 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/184739
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Erick Turnquist <jhujhiti@adjectivism.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/184739: dns/validns fails to build with non-default
 LOCALBASE/PREFIX
Date: Fri, 13 Dec 2013 00:04:16 -0500

 --tThc/1wpZn/ma/RB
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Apologies - apparently I did not double-check my copy/paste job into the web
 PR form before submitting. Not that it matters much, but I'm on 9.1-RELEASE
 and the environment field should read:
 
 FreeBSD rhea 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #4: Sat Sep 14 03:52:41 UTC
 2013     root@rhea:/usr/obj/usr/src/sys/CUSTOM  amd64
 
 --tThc/1wpZn/ma/RB
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.22 (FreeBSD)
 
 iQIcBAEBCAAGBQJSqpVNAAoJEPVscZllOOSh06YQAIqXhpt+JcsTpoyrJtAZFyYv
 jD1XXjF4pu65Jfr7ANXBSToRDAof5o2Xp8cAbfejbWsWSPhDautC95clVxcLDBXK
 3IsFKds7Ngty4gNEVUoKDojsavhGI8OYqQVajvhPNdBIX86HgmWzMFnFSlgec06l
 k/PcgzajXJ3cKotFxWshXZHPQ4tvaqZbh7/JXQL+2G5j3mzSkefiPfZzg8SyIPxY
 T1itB9halkB+X0hrKdPey8fepTrLUvXLWwlI8Jr5O4exesWXmA+p5JGLBr2cVfKE
 KAdgpO6Xu4AC8vtDC5Wzx2Pp2kGvS8gk+1nXMiLa5tZLufcT826E1UF7UjO+u/E/
 QQAxACpW2VkImUFNW1kV2xT6yRuuRuKPWx7mxltkflq1wzVOLKO8IFrsmIILtVTh
 4B3QIifIS/p4gS2ZaHoP6gmpPVg1Gy+eYASskt5cpOIdGu6o3s2Izq5UxHK+Cwkk
 hKzT3iAk1buuALnfR1cHJGcAFqUghgsDIb5j/waXQ0h6Jg9rN3hz1lOnNZveY6hT
 Zfzs6R7wJ0r5+OXVXZiVKM4tmDvZdxMZSBdoVEW/ifRC+2rGmlSh2gXylOoWdHbx
 AGAHdRL8A8VeDxqvdxlsnv2UEra/ZBlZJGsMemf3MvRyp+mDn8SbsqPkJGfHASw9
 tRiQeRhCU7q15qRzWIzX
 =+gaF
 -----END PGP SIGNATURE-----
 
 --tThc/1wpZn/ma/RB--
>Unformatted:
 
 
 
 
 
 dy.h (f
 rom devel/judy), when the LOCALBASE is not /usr/local. The attached patch sets these make arguments.
