Changeset 4126


Ignore:
Timestamp:
Dec 6, 2003, 12:19:02 AM (17 years ago)
Author:
olegb
Message:

Bug: 1242
Submitted by: bchesneau@… (Benoit Chesneau)
Reviewed by: olegb@
Approved by:
Obtained from:
update - Thanks Benoit!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/php4/Portfile

    r4061 r4126  
    1 # $Id: Portfile,v 1.7 2003/11/26 12:10:57 fkr Exp $
     1# $Id: Portfile,v 1.8 2003/12/06 00:19:02 olegb Exp $
    22
    33PortSystem 1.0
     
    6262}
    6363
     64variant macosx {
     65        configure.args-append   --with-ldap=/usr --with-kerberos=/usr --with-iodbc=/usr
     66}
    6467
    6568variant cli {}
     
    7073       
    7174variant apache {
    72 
    73         if { ! [variant_isset apache_layout] } {
    74                 depends_lib-append      path:${prefix}/sbin/apxs:apache
    75                 configure.args-append   --with-apxs=${prefix}/sbin/apxs
    76         } else {
    77                 configure.args-append   --with-apxs=${prefix}/apache/bin/apxs
    78         }
     75         if { [variant_isset apache_layout] } {
     76                configure.args-append   --with-apxs=${prefix}/apache/bin/apxs
     77        } else {       
     78                if { ! [variant_isset macosx] } {
     79                        depends_lib-append      path:${prefix}/sbin/apxs:apache
     80                        configure.args-append   --with-apxs=${prefix}/sbin/apxs
     81                } else {
     82                        configure.args-append   --with-apxs=/usr/sbin/apxs
     83                }
     84        }       
    7985}
    8086
Note: See TracChangeset for help on using the changeset viewer.