[Bug 260964] apache24: command line make options -DWITH_SUEXEC do not work, building only works when setting this in make.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 05 Jan 2022 21:55:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260964

            Bug ID: 260964
           Summary: apache24: command line make options -DWITH_SUEXEC do
                    not work, building only works when setting this in
                    make.conf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: sblachmann@gmail.com

SirDice of the FreeBSD forums suggested me to enter a PR for this.

PROBLEM:
Setting options on the ports' make build and make install command line
-DWITH_SUEXEC
as well as
-DWITH=SUEXEC
does not work.

Neither does
-DSUEXEC_DOCROOT=...
-DSUEXEC_USERDIR=...
-DSUEXEC_UIDMIN=...
-DSUEXEC_GIDMIN=...
-DSUEXEC_LOGFILE=...
work.

WORKAROUND:
This all only works if one sets these defines in make.conf.

EXPECTED BEHAVIOUR:
Works like described in the documentation, using the make -D command line
options.

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