[42296] trunk/dports/databases/db46/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Nov 18 15:25:07 PST 2008


On Nov 18, 2008, at 08:55, nottwo at macports.org wrote:

> Revision: 42296
>           http://trac.macports.org/changeset/42296
> Author:   nottwo at macports.org
> Date:     2008-11-18 06:55:20 -0800 (Tue, 18 Nov 2008)
> Log Message:
> -----------
> Add variant that builds db_dump185.  Closes #16301

Why a variant? Is there any detriment to including this in the  
default install?


> Modified Paths:
> --------------
>     trunk/dports/databases/db46/Portfile
>
> Modified: trunk/dports/databases/db46/Portfile
> ===================================================================
> --- trunk/dports/databases/db46/Portfile	2008-11-18 14:51:39 UTC  
> (rev 42295)
> +++ trunk/dports/databases/db46/Portfile	2008-11-18 14:55:20 UTC  
> (rev 42296)
> @@ -51,12 +51,21 @@
>  		move ${destroot}${prefix}/bin/db_${bin} \
>  			${destroot}${prefix}/bin/db46_${bin}
>  	}
> +
> +        if { [ variant_isset dump185 ] } {
> +            move ${destroot}${prefix}/bin/db_dump185 \
> +                ${destroot}${prefix}/bin/db46_dump185
> +        }
>  }
>
>  variant java description {Enable java bindings} {
>  	configure.args-append --enable-java
>  }
>
> +variant dump185 description {Build db_dump185 tool} {
> +        configure.args-append --enable-dump185
> +}
> +
>  livecheck.check regex
>  livecheck.url   http://www.oracle.com/technology/documentation/ 
> berkeley-db/db/ref/changelog/4.6.html
>  livecheck.regex {Berkeley DB (\d+(?:\.\d+)*)}



More information about the macports-dev mailing list