Date: Fri, 13 Dec 2013 04:55:33 GMT From: Erick Turnquist <jhujhiti@adjectivism.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/184739: dns/validns fails to build with non-default LOCALBASE/PREFIX Message-ID: <201312130455.rBD4tXmZ078825@oldred.freebsd.org> Resent-Message-ID: <201312130500.rBD500UY063146@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: open >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: >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 Judy.h (f >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: >Unformatted: rom devel/judy), when the LOCALBASE is not /usr/local. The attached patch sets these make arguments.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312130455.rBD4tXmZ078825>