Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2018 16:00:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 232293] pkgbase uses (global) ports environment variables in src Makefiles -> conflict
Message-ID:  <bug-232293-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232293

            Bug ID: 232293
           Summary: pkgbase uses (global) ports environment variables in
                    src Makefiles -> conflict
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: bz@FreeBSD.org

pkgbase uses DISTDIR in Makefile.inc1 as an optional environment variable.

This conflicts with the global ports environment variable;  if someone has
DISTDIR set in her environment make packages fails in funny ways.

An initial attempt to fix parts of this problem was done in
https://svnweb.freebsd.org/base?view=3Drevision&revision=3D337991 .
This change was
(a) not enough to fix the entire problem
(b) does not fix the underlying problem of the conflict

It would be advisable to rename the variable in Makefile.inc1 and also fix =
the
"packages" target to work if a DISTDIR (replacement) variable is set.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232293-227>