Lines 2-8
Link Here
|
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/dev-libs/nss/nss-3.11.3.ebuild,v 1.8 2006/09/21 20:11:42 blubb Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.11.3.ebuild,v 1.8 2006/09/21 20:11:42 blubb Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils flag-o-matic |
6 |
|
6 |
|
7 |
NSPR_VER="4.6.3" |
7 |
NSPR_VER="4.6.3" |
8 |
RTM_NAME="NSS_${PV//./_}_RTM" |
8 |
RTM_NAME="NSS_${PV//./_}_RTM" |
Lines 41-56
src_unpack() {
Link Here
|
41 |
} |
41 |
} |
42 |
|
42 |
|
43 |
src_compile() { |
43 |
src_compile() { |
|
|
44 |
strip-flags |
44 |
if use amd64 || use ppc64 || use ia64 || use s390; then |
45 |
if use amd64 || use ppc64 || use ia64 || use s390; then |
45 |
export USE_64=1 |
46 |
export USE_64=1 |
46 |
fi |
47 |
fi |
47 |
export NSDISTMODE=copy |
48 |
export NSDISTMODE=copy |
48 |
cd ${S}/mozilla/security/coreconf |
49 |
cd ${S}/mozilla/security/coreconf |
49 |
emake -j1 BUILD_OPT=1 || die "coreconf make failed" |
50 |
emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" || die "coreconf make failed" |
50 |
cd ${S}/mozilla/security/dbm |
51 |
cd ${S}/mozilla/security/dbm |
51 |
emake -j1 BUILD_OPT=1 || die "dbm make failed" |
52 |
emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" || die "dbm make failed" |
52 |
cd ${S}/mozilla/security/nss |
53 |
cd ${S}/mozilla/security/nss |
53 |
emake -j1 BUILD_OPT=1 || die "nss make failed" |
54 |
emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" || die "nss make failed" |
54 |
} |
55 |
} |
55 |
|
56 |
|
56 |
src_install () { |
57 |
src_install () { |