Bug 260964 - apache24: command line make options -DWITH_SUEXEC do not work, building only works when setting this in make.conf
Summary: apache24: command line make options -DWITH_SUEXEC do not work, building only ...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-05 21:55 UTC by Stefan B.
Modified: 2022-01-11 16:06 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan B. 2022-01-05 21:55:56 UTC
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.