[Bug 204708] Mk/bsd.option.mk: variable expansion difference between _(ON|OFF) and _(WITH|ENABLE)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 21 03:21:14 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204708

            Bug ID: 204708
           Summary: Mk/bsd.option.mk: variable expansion difference
                    between _(ON|OFF) and _(WITH|ENABLE)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://lists.freebsd.org/pipermail/freebsd-ports/2015
                    -November/101142.html
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: junovitch at freebsd.org
                CC: freebsd-ports-bugs at FreeBSD.org
            Blocks: 204220

Further discussion is in mailing list thread in URL.

...
PERL_CONFIGURE_WITH=            perl=${PERL} perl-bindings
...
PYTHON_CONFIGURE_WITH=          python=${PYTHON_CMD}

% make -VPERL_CONFIGURE_WITH
perl=/usr/local/bin/perl perl-bindings
% make -VPYTHON_CONFIGURE_WITH
python=/usr/local/bin/python2.7

However, for CONFIGURE_ARGS the ${PERL} and ${PYTHON_CMD} variables are
getting swallowed up.  The port will fail to compile because of this.

% make -VCONFIGURE_ARGS
"--enable-python --with-python= "
"--enable-perl --with-perl= --with-perl-bindings"

Blocks fully converting net-mgmt/collectd5 to option helpers (bug 204220)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list