Browse Source

forced sendmail path

Christoph Schug 23 years ago
parent
commit
7456a8cc6c
2 changed files with 6 additions and 2 deletions
  1. 3 0
      apache/apache.spec
  2. 3 2
      php/php.spec

+ 3 - 0
apache/apache.spec

@@ -210,6 +210,7 @@ PreReq:       perl
 %endif
 %if "%{with_mod_php}" == "yes"
 BuildPreReq:  gcc, sed, flex, bison
+PreReq:       MTA
 %if "%{with_mod_php_mysql}" == "yes"
 BuildPreReq:  mysql
 PreReq:       mysql
@@ -503,6 +504,8 @@ AutoReqProv:  no
       ORACLE_HOME="`%{l_prefix}/etc/rc --query oracle_home`"
       export ORACLE_HOME
 %endif
+      PROG_SENDMAIL="%{l_prefix}/sbin/sendmail"
+      export PROG_SENDMAIL
       ./configure \
           --prefix=%{l_prefix} \
           --with-apache=../apache_%{V_apache} \

+ 3 - 2
php/php.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
 Group:        Language
 License:      PHP
 Version:      4.3.2
-Release:      20030728
+Release:      20030812
 
 #   package options (analog to apache.spec)
 %option       with_calendar      no
@@ -90,7 +90,7 @@ Patch0:       php.patch
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
 BuildPreReq:  OpenPKG, openpkg >= 20030708, gcc, sed, flex, bison
-PreReq:       OpenPKG, openpkg >= 20030708
+PreReq:       OpenPKG, openpkg >= 20030708, MTA
 %if "%{with_mysql}" == "yes"
 BuildPreReq:  mysql
 PreReq:       mysql
@@ -231,6 +231,7 @@ AutoReqProv:  no
     CFLAGS="$cflags" \
     LDFLAGS="$ldflags" \
     LIBS="$libs" \
+    PROG_SENDMAIL="%{l_prefix}/sbin/sendmail" \
     ./configure \
         --prefix=%{l_prefix} \
         --with-config-file-path=%{l_prefix}/etc/php \