Ignore:
Timestamp:
Sep 23, 2008, 10:44:54 PM (11 years ago)
Author:
macsforever2000@…
Message:

Fixed the postgresql83, mysql5 and mysql4 variants. Thanks to blb for nearly all of the code. Closes ticket #16629.

Location:
trunk/dports/sysutils/bacula
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/bacula/Portfile

    r38734 r40173  
    66name             bacula
    77version          2.4.2
     8revision         1
    89categories       sysutils
    910platforms        darwin
     
    2324depends_build    port:gawk
    2425depends_lib      port:zlib port:openssl port:libiconv port:gettext port:ncurses
     26
     27patchfiles       patch-configure.diff
     28
     29post-patch {
     30                 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure
     31}
    2532
    2633configure.args   --mandir=${prefix}/share/man \
     
    4350                 --disable-gnome \
    4451                 --disable-wx-console \
    45                  --disable-tray-monitor
     52                 --enable-tray-monitor
    4653configure.cppflags-append   -I${prefix}/ncurses
    4754configure.ldflags           ""
     
    6471variant mysql4 conflicts client_only mysql5 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 4 backend" {
    6572  depends_lib-append    port:mysql4
    66   configure.args-append --with-mysql=${prefix}
     73  configure.args-append --with-mysql
    6774  configure.args-delete --without-mysql
    6875}
     
    7077variant mysql5 conflicts client_only mysql4 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 5 backend" {
    7178  depends_lib-append    port:mysql5
    72   configure.args-append --with-mysql=${prefix}
     79  configure.args-append --with-mysql
    7380  configure.args-delete --without-mysql
    7481}
     
    7683variant postgresql83 conflicts mysql4 mysql5 sqlite2 sqlite3 client_only description "Install bacula client and server with postgresql 8.3 backend" {
    7784  depends_lib-append    port:postgresql83
    78   configure.args-append --with-postgresql=${prefix}
     85  configure.args-append --with-postgresql
    7986  configure.args-delete --without-postgresql
     87  configure.env-append PATH=${prefix}/lib/postgresql83/bin:$env(PATH)
    8088}
    8189
Note: See TracChangeset for help on using the changeset viewer.