Changeset 16981


Ignore:
Timestamp:
Mar 14, 2006, 2:16:40 PM (11 years ago)
Author:
joe
Message:

Submitted by: joe@
added mysql5 variant

File:
1 edited

Legend:

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

    r15860 r16981  
    1 # $Id: Portfile,v 1.27 2006/01/15 14:30:20 mww Exp $
     1# $Id: Portfile,v 1.28 2006/03/14 14:16:40 joe Exp $
    22
    33PortSystem 1.0
     
    106106}
    107107
    108 variant mysql {
    109         depends_lib-append      port:mysql
     108variant mysql3 {
     109        depends_lib-append      port:mysql3
    110110        configure.args-append   --with-mysql=${prefix}
    111111}
     
    116116}
    117117
    118 variant postgresql {
     118
     119variant mysql5 {
     120        depends_lib-append      port:mysql5
     121        configure.args-delete   --without-mysql
     122        configure.args-append   --with-mysql=${workpath}/mysql5
     123        post-extract {
     124                file mkdir "${workpath}/mysql5"
     125                file link -symbolic "${workpath}/mysql5/lib" "${prefix}/lib/mysql5"
     126                file link -symbolic "${workpath}/mysql5/include" "${prefix}/include/mysql5"
     127        }
     128}
     129
     130variant postgresql8 {
    119131        pre-configure {
    120132                file mkdir ${workpath}/pgsql8
Note: See TracChangeset for help on using the changeset viewer.