Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/1242

Submitted by:   bchesneau@mac.com (Benoit Chesneau)
Reviewed by:    olegb@
Approved by:
Obtained from:
update - Thanks Benoit!

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4126 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Ole Guldberg Jensen
Ole Guldberg Jensen committed Dec 6, 2003
1 parent 2091089 commit 3c08e52406275473032a6f3b6f0b0005c6fbd4b4
Showing with 14 additions and 8 deletions.
  1. +14 −8 www/php4/Portfile
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.7 2003/11/26 12:10:57 fkr Exp $
# $Id: Portfile,v 1.8 2003/12/06 00:19:02 olegb Exp $

PortSystem 1.0
name php4
@@ -61,6 +61,9 @@ platform freebsd {
CPPFLAGS="-I${prefix}/include
}

variant macosx {
configure.args-append --with-ldap=/usr --with-kerberos=/usr --with-iodbc=/usr
}

variant cli {}

@@ -69,13 +72,16 @@ variant apache_layout {
}

variant apache {

if { ! [variant_isset apache_layout] } {
depends_lib-append path:${prefix}/sbin/apxs:apache
configure.args-append --with-apxs=${prefix}/sbin/apxs
} else {
configure.args-append --with-apxs=${prefix}/apache/bin/apxs
}
if { [variant_isset apache_layout] } {
configure.args-append --with-apxs=${prefix}/apache/bin/apxs
} else {
if { ! [variant_isset macosx] } {
depends_lib-append path:${prefix}/sbin/apxs:apache
configure.args-append --with-apxs=${prefix}/sbin/apxs
} else {
configure.args-append --with-apxs=/usr/sbin/apxs
}
}
}

variant apache2 {

0 comments on commit 3c08e52

Please sign in to comment.
You can’t perform that action at this time.