Lines 28-34
done
Link Here
|
28 |
LICENSE="Sleepycat" |
28 |
LICENSE="Sleepycat" |
29 |
SLOT="4.8" |
29 |
SLOT="4.8" |
30 |
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
30 |
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
31 |
IUSE="doc java cxx tcl test" |
31 |
IUSE="debian-symver doc java cxx tcl test" |
32 |
|
32 |
|
33 |
REQUIRED_USE="test? ( tcl )" |
33 |
REQUIRED_USE="test? ( tcl )" |
34 |
|
34 |
|
Lines 44-49
RDEPEND="tcl? ( >=dev-lang/tcl-8.5.15-r1:0=[${MULTILIB_USEDEP}] )
Link Here
|
44 |
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
44 |
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
45 |
)" |
45 |
)" |
46 |
|
46 |
|
|
|
47 |
pkg_pretend() { |
48 |
if ( has_version "${CATEGORY}/${PN}[-debian-symver(-)]" && use debian-symver ) || \ |
49 |
( has_version "${CATEGORY}/${PN}[debian-symver(-)]" && ! use debian-symver ) ; then |
50 |
ewarn |
51 |
ewarn "- WARNING - WARNING - WARNING - WARNING - WARNING -" |
52 |
ewarn "${CATEGORY}/${PN}:${SLOT} USE=debian-symver change detected" |
53 |
ewarn |
54 |
ewarn "You are choosing a different symbol versioning scheme due to a" |
55 |
ewarn "change in the state of USE=debian-symver -- this *will* break" |
56 |
ewarn "the ABI compared to the current installation, in a way that" |
57 |
ewarn "@preserved-libs will NOT save you from. Please imediately" |
58 |
ewarn "rebuild any consumers of ${CATEGORY}/${PN}:${SLOT} after merging" |
59 |
ewarn "this change. The following can help you with this:" |
60 |
ewarn |
61 |
ewarn "revdep-rebuild --library libdb-${SLOT}\.so libdb_cxx-${SLOT}\.so libdbstl-${SLOT}\.so" |
62 |
ewarn |
63 |
fi |
64 |
} |
65 |
|
47 |
src_prepare() { |
66 |
src_prepare() { |
48 |
cd "${WORKDIR}"/"${MY_P}" || die |
67 |
cd "${WORKDIR}"/"${MY_P}" || die |
49 |
for (( i=1 ; i<=${PATCHNO} ; i++ )) |
68 |
for (( i=1 ; i<=${PATCHNO} ; i++ )) |
Lines 101-107
multilib_src_configure() {
Link Here
|
101 |
|
120 |
|
102 |
# Add linker versions to the symbols. Easier to do, and safer than header file |
121 |
# Add linker versions to the symbols. Easier to do, and safer than header file |
103 |
# mumbo jumbo. |
122 |
# mumbo jumbo. |
104 |
if use userland_GNU ; then |
123 |
if use debian-symver ; then |
|
|
124 |
append-ldflags -Wl,--version-script,"${T}"/symver-script |
125 |
cat >"${T}"/symver-script <<SYMVER_EOF |
126 |
DB${SLOT/\./_} { |
127 |
global: *; |
128 |
}; |
129 |
SYMVER_EOF |
130 |
elif use userland_GNU ; then |
105 |
append-ldflags -Wl,--default-symver |
131 |
append-ldflags -Wl,--default-symver |
106 |
fi |
132 |
fi |
107 |
|
133 |
|