Magellan Linux

Diff of /branches/magellan-next/extras/nss/nss-3.12.11-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9005 by niro, Mon Sep 19 22:00:19 2011 UTC revision 9006 by niro, Mon Sep 19 22:08:40 2011 UTC
# Line 16  DEPEND=">= virtual/glibc Line 16  DEPEND=">= virtual/glibc
16  SDEPEND=">= sys-apps/sed-4"  SDEPEND=">= sys-apps/sed-4"
17    
18  SRCFILE="${PNAME}-${PVER}.tar.gz"  SRCFILE="${PNAME}-${PVER}.tar.gz"
19  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}/mozilla/security"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20    
21  sminclude mtools multilib  sminclude mtools multilib
22    
# Line 35  UP2DATE="updatecmd 'http://ftp.mozilla.o Line 35  UP2DATE="updatecmd 'http://ftp.mozilla.o
35  src_prepare()  src_prepare()
36  {  {
37   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
  cd ${SRCDIR}  
38    
39   # modify install path   # modify install path
40   all-abis "sed -i 's:SOURCE_PREFIX = $(CORE_DEPTH)/\.\./dist:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' coreconf/source.mk || die"   all-abis "sed -i 's:SOURCE_PREFIX = $(CORE_DEPTH)/\.\./dist:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' mozilla/security/coreconf/source.mk || die"
41  }  }
42    
43  src_compile()  src_compile()
# Line 58  src_compile() Line 57  src_compile()
57   export NSPR_INCLUDE_DIR=$(pkg-config --cflags-only-I nspr | sed 's:-I::')   export NSPR_INCLUDE_DIR=$(pkg-config --cflags-only-I nspr | sed 's:-I::')
58   export NSPR_LIB_DIR=$(pkg-config --libs-only-L nspr | sed 's:-L::')   export NSPR_LIB_DIR=$(pkg-config --libs-only-L nspr | sed 's:-L::')
59    
60   mmake -j1 BUILD_OPT=1 -C coreconf || die   mmake -j1 BUILD_OPT=1 -C mozilla/security/coreconf || die
61   mmake -j1 BUILD_OPT=1 -C dbm || die   mmake -j1 BUILD_OPT=1 -C mozilla/security/dbm || die
62   mmake -j1 BUILD_OPT=1 -C nss || die   mmake -j1 BUILD_OPT=1 -C mozilla/security/nss || die
63  }  }
64    
65  src_install()  src_install()
# Line 73  src_install() Line 72  src_install()
72   m64) ABI_LIBDIR="lib64";;   m64) ABI_LIBDIR="lib64";;
73   esac   esac
74    
75   cd ${SRCDIR}-${abi}/dist   cd ${SRCDIR}-${abi}/mozilla/security/dist
76    
77   # put all *.a files in /usr/lib/nss   # put all *.a files in /usr/lib/nss
78   # (because some have conflicting names with existing libraries)   # (because some have conflicting names with existing libraries)

Legend:
Removed from v.9005  
changed lines
  Added in v.9006