| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.7.25_p4.ebuild,v 1.1 2009/06/21 13:43:28 caleb Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.7.25_p4.ebuild,v 1.2 2009/07/05 19:52:54 vapier Exp $ |
| 4 | |
4 | |
| 5 | inherit eutils db flag-o-matic java-pkg-opt-2 autotools libtool |
5 | inherit eutils db flag-o-matic java-pkg-opt-2 autotools libtool |
| 6 | |
6 | |
| 7 | #Number of official patches |
7 | #Number of official patches |
| 8 | #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` |
8 | #PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"` |
| … | |
… | |
| 103 | econf \ |
103 | econf \ |
| 104 | --enable-compat185 \ |
104 | --enable-compat185 \ |
| 105 | --enable-o_direct \ |
105 | --enable-o_direct \ |
| 106 | --without-uniquename \ |
106 | --without-uniquename \ |
| 107 | --enable-rpc \ |
107 | --enable-rpc \ |
|
|
108 | $(use arm && echo --with-mutex=ARM/gcc-assembly) \ |
| 108 | $(use amd64 && echo --with-mutex=x86/gcc-assembly) \ |
109 | $(use amd64 && echo --with-mutex=x86/gcc-assembly) \ |
| 109 | $(use_enable !nocxx cxx) \ |
110 | $(use_enable !nocxx cxx) \ |
| 110 | $(use_enable java) \ |
111 | $(use_enable java) \ |
| 111 | $(use_enable tcl) \ |
112 | $(use_enable tcl) \ |
| 112 | $(use tcl && echo --with-tcl=/usr/$(get_libdir)) \ |
113 | $(use tcl && echo --with-tcl=/usr/$(get_libdir)) \ |