diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile index 51c47bbb9841..3c761ab92a21 100644 --- a/www/mod_php3/Makefile +++ b/www/mod_php3/Makefile @@ -34,6 +34,10 @@ SLAVEDIRS= lang/php3 GNU_CONFIGURE= yes +.if !defined(BATCH) && !defined(PACKAGE_BUILDING) +IS_INTERACTIVE= yes +.endif + .if defined(STANDALONE) CONFIGURE_ARGS= --with-config-file-path=${PREFIX}/etc/php.standalone .else diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile index 3c14a523afe0..b1be586e7928 100644 --- a/www/mod_php4/Makefile +++ b/www/mod_php4/Makefile @@ -33,6 +33,10 @@ SLAVEDIRS= lang/php4 USE_LIBTOOL= yes +.if !defined(BATCH) && !defined(PACKAGE_BUILDING) +IS_INTERACTIVE= yes +.endif + .if defined(STANDALONE) CONFIGURE_ARGS= --with-config-file-path=${PREFIX}/etc/php.standalone \ --disable-pear diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile index 3c14a523afe0..b1be586e7928 100644 --- a/www/mod_php5/Makefile +++ b/www/mod_php5/Makefile @@ -33,6 +33,10 @@ SLAVEDIRS= lang/php4 USE_LIBTOOL= yes +.if !defined(BATCH) && !defined(PACKAGE_BUILDING) +IS_INTERACTIVE= yes +.endif + .if defined(STANDALONE) CONFIGURE_ARGS= --with-config-file-path=${PREFIX}/etc/php.standalone \ --disable-pear