- extension dir is no-debug-zts-20010901 if WITH_APACHE2 is set
- extension dir has to be created if installed as a package since it is empty - move PLIST_SUB into if-clause so it actually works Submitted by: Alex Dupre <sysadmin@alexdupre.com>
This commit is contained in:
parent
1b1465b93c
commit
16e5eb080c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58925
@ -55,12 +55,14 @@ MAKE_ENV= STANDALONE="${STANDALONE}"
|
||||
.if defined(WITH_APACHE2)
|
||||
CONFIGURE_ARGS= --with-apxs2=${PREFIX}/sbin/apxs \
|
||||
--with-tsrm-pth
|
||||
PLIST_SUB= MOD_DIR=libexec/apache2
|
||||
PLIST_SUB= MOD_DIR=libexec/apache2 \
|
||||
NON=
|
||||
.else
|
||||
CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs
|
||||
PLIST_SUB= MOD_DIR=libexec/apache \
|
||||
NON=non-
|
||||
.endif
|
||||
CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc
|
||||
PLIST_SUB= MOD_DIR=libexec/apache
|
||||
.endif
|
||||
|
||||
CONFIGURE_ARGS+=--enable-versioning \
|
||||
|
@ -270,6 +270,7 @@ lib/php/build/shtool
|
||||
@dirrm lib/php/Schedule
|
||||
@dirrm lib/php/XML
|
||||
@dirrm lib/php/build
|
||||
@dirrm lib/php/extensions/no-debug-non-zts-20010901
|
||||
@dirrm lib/php/extensions/no-debug-%%NON%%zts-20010901
|
||||
@dirrm lib/php/extensions
|
||||
@dirrm lib/php
|
||||
@exec mkdir -p %D/lib/php/extensions/no-debug-%%NON%%zts-20010901
|
||||
|
@ -55,12 +55,14 @@ MAKE_ENV= STANDALONE="${STANDALONE}"
|
||||
.if defined(WITH_APACHE2)
|
||||
CONFIGURE_ARGS= --with-apxs2=${PREFIX}/sbin/apxs \
|
||||
--with-tsrm-pth
|
||||
PLIST_SUB= MOD_DIR=libexec/apache2
|
||||
PLIST_SUB= MOD_DIR=libexec/apache2 \
|
||||
NON=
|
||||
.else
|
||||
CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs
|
||||
PLIST_SUB= MOD_DIR=libexec/apache \
|
||||
NON=non-
|
||||
.endif
|
||||
CONFIGURE_ARGS+=--with-config-file-path=${PREFIX}/etc
|
||||
PLIST_SUB= MOD_DIR=libexec/apache
|
||||
.endif
|
||||
|
||||
CONFIGURE_ARGS+=--enable-versioning \
|
||||
|
@ -270,6 +270,7 @@ lib/php/build/shtool
|
||||
@dirrm lib/php/Schedule
|
||||
@dirrm lib/php/XML
|
||||
@dirrm lib/php/build
|
||||
@dirrm lib/php/extensions/no-debug-non-zts-20010901
|
||||
@dirrm lib/php/extensions/no-debug-%%NON%%zts-20010901
|
||||
@dirrm lib/php/extensions
|
||||
@dirrm lib/php
|
||||
@exec mkdir -p %D/lib/php/extensions/no-debug-%%NON%%zts-20010901
|
||||
|
Loading…
Reference in New Issue
Block a user