freebsd-ports/www/mod_php81/Makefile
Muhammad Moinur Rahman 8ea662c5f7 www/mod_php8*: Fix build
USES=apache must be called before bsd.pre.port.mk however this was
overridden using an include clause. During my previous commit on
refactoring apache.mk these include blocks were deleted which causes
failure to the build of these port as USES=apache in preport.mk is never
called. This commit changes and refactors the code.

Fixes: 40843b1 Mk/Uses/apache.mk: Refactor after removal of older versions
2023-01-25 15:13:29 -06:00

19 lines
429 B
Makefile

CATEGORIES= www devel
PKGNAMEPREFIX= mod_
MAINTAINER= bofh@FreeBSD.org
CONFLICTS_INSTALL= mod_php[0-9][0-9]
PHP_PORT= lang/php81
MASTERDIR= ${.CURDIR}/../../${PHP_PORT}
OPTIONS_DEFINE= AP2FILTER
OPTIONS_EXCLUDE= CGI CLI EMBED FPM
AP2FILTER_DESC= Use Apache 2.x filter interface (experimental)
AP2FILTER_CONFIGURE_ON=--with-apxs2filter=${APXS}
AP2FILTER_CONFIGURE_OFF=--with-apxs2=${APXS}
.include "${MASTERDIR}/Makefile"