[MacPorts] #2208: Add mysql variant to qt3-mac

MacPorts noreply at macports.org
Thu Mar 24 07:47:27 PDT 2016


#2208: Add mysql variant to qt3-mac
--------------------------+---------------------
  Reporter:  ornstedt@…   |      Owner:  rshaw@…
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  1.0
Resolution:  fixed        |   Keywords:
      Port:  qt3-mac      |
--------------------------+---------------------
Changes (by ryandesign@…):

 * type:  defect => enhancement
 * port:   => qt3-mac


Old description:

> --- Portfile    1 May 2004 23:33:11 -0000       1.15
> +++ Portfile    13 Sep 2004 12:43:03 -0000
> @@ -3,6 +3,7 @@
>
>  name                   qt3-mac
>  version                        3.3.2
> +revision               2
>  categories             aqua
>  maintainers            rshaw at opendarwin.org ranger at befunk.com
> leimy at opendarwin.org
>  description            Qt Tool Kit (Native Aqua Version)
> @@ -14,6 +15,12 @@
>  use_bzip2              yes
>  checksums              md5 0ffab7a56f47635e574b73e8a109fcd2
>  platforms              darwin
> +
> +variant mysql {
> +                depends_lib-append lib:libmysqlclient.12:mysql4
> +                configure.args-append -qt-sql-mysql
> -L${prefix}/lib/mysql
> -I${prefix}/include/mysql -plugin-sql-mysql
> +}
> +
>
>  configure.cmd  "echo yes | ./configure"
>  configure.env  QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH=''

New description:

 {{{
 --- Portfile    1 May 2004 23:33:11 -0000       1.15
 +++ Portfile    13 Sep 2004 12:43:03 -0000
 @@ -3,6 +3,7 @@

  name                   qt3-mac
  version                        3.3.2
 +revision               2
  categories             aqua
  maintainers            rshaw at opendarwin.org ranger at befunk.com
 leimy at opendarwin.org
  description            Qt Tool Kit (Native Aqua Version)
 @@ -14,6 +15,12 @@
  use_bzip2              yes
  checksums              md5 0ffab7a56f47635e574b73e8a109fcd2
  platforms              darwin
 +
 +variant mysql {
 +                depends_lib-append lib:libmysqlclient.12:mysql4
 +                configure.args-append -qt-sql-mysql -L${prefix}/lib/mysql
 -I${prefix}/include/mysql -plugin-sql-mysql
 +}
 +

  configure.cmd  "echo yes | ./configure"
  configure.env  QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH=''
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/2208#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list