ports/184739: dns/validns fails to build with non-default LOCALBASE/PREFIX
Erick Turnquist
jhujhiti at adjectivism.org
Fri Dec 13 05:00:00 UTC 2013
>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.
More information about the freebsd-ports-bugs
mailing list