Changeset 23054 for trunk/dports/gnome


Ignore:
Timestamp:
Mar 23, 2007, 11:50:21 PM (13 years ago)
Author:
landonf@…
Message:

file link requires that the target exist -- the target won't exist at post-patch if the ports aren't already installed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/libgda/Portfile

    r21630 r23054  
    1616use_bzip2       yes
    1717
    18 depends_lib     \
    19         port:libxslt \
    20         port:glib2
     18depends_lib     port:libxslt \
     19                port:glib2
    2120
    2221depends_build   port:gnome-doc-utils
     
    6867        if {[variant_isset "mysql5"]} {
    6968                file mkdir ${mysqldir}
    70                 file link [file join ${mysqldir} "include"] [file join ${prefix} "include" "mysql5"]
    71                 file link [file join ${mysqldir} "lib"] [file join ${prefix} "lib" "mysql5"]
     69                system "ln -s \"[file join ${mysqldir} include]\" \"[file join ${prefix} include mysql5]\""
     70                system "ln -s \"[file join ${mysqldir} lib]\" \"[file join ${prefix} lib mysql5]\""
    7271        }
    7372
    7473        if {[variant_isset "postgresql8"]} {
    7574                file mkdir ${pgdir}
    76                 file link [file join ${pgdir} "include"] [file join ${prefix} "include" "pgsql8"]
    77                 file link [file join ${pgdir} "lib"] [file join ${prefix} "lib" "pgsql8"]
     75                system "ln -s \"[file join ${pgdir} include]\" \"[file join ${prefix} include pgsql8]\""
     76                system "ln -s \"[file join ${pgdir} lib]\" \"[file join ${prefix} lib pgsql8]\""
    7877        }
    7978}
Note: See TracChangeset for help on using the changeset viewer.