Bug 125676

Summary: [PATCH] Fix www/lynx build
Product: Ports & Packages Reporter: Mel <Mel>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: jharris
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Mel 2008-07-16 14:40:03 UTC
www/lynx build fails,because it is unable to cd to 'src'.

How-To-Repeat: # This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for lynx-2.8.6.5_4,1
_OPTIONS_READ=lynx-2.8.6.5_4,1
WITH_SSL=true
WITH_DEFAULT_COLORS=true
WITH_IPV6=true
WITHOUT_NLS=true

The problem might be caused or is exposed by WITHOUT_NLS. Or it is caused by
the assumption that CDPATH does something useful in our make(1).
I've patched it so that no assumptions about make's behavior are necessary.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-07-16 14:40:31 UTC
Maintainer of www/lynx,

Please note that PR ports/125676 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/125676

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2008-07-16 14:40:32 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2008-09-01 16:04:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 4 Dmitry Marakasov freebsd_committer freebsd_triage 2008-09-01 22:28:38 UTC
State Changed
From-To: feedback->closed

Neither me nor pointyhat are able to reproduce the problem; submitter 
email bno longer exists.
Comment 5 Mel 2008-09-10 18:17:04 UTC
The cause seems to be parallel builds. I decided to examine /etc/make.conf on 
both machines and this was the culprit:
.if !defined(NO_PARALLEL_BUILD) && !empty(.TARGET:Mdo-build) && \
        empty(.CURDIR:M*editors/vim*)
MAKE_FLAGS=-j2 -f
.endif

If I build with -DNO_PARALLEL_BUILD, it builds just fine. Should've thought 
about that, but the error message threw me off.

(Apologies about the email address, the portbuild-* part should've been 
stripped by postfix, but I didn't set that up right).
-- 
Mel