Lines 22-31
pkg_setup() {
Link Here
|
22 |
echo with a symlink to it in /usr/src/linux in order to have IPSec |
22 |
echo with a symlink to it in /usr/src/linux in order to have IPSec |
23 |
echo kernel compatibility. Please emerge sys-kernel/crypto-sources, |
23 |
echo kernel compatibility. Please emerge sys-kernel/crypto-sources, |
24 |
echo compile an IPSec-enabled kernel and attempt this ebuild again. |
24 |
echo compile an IPSec-enabled kernel and attempt this ebuild again. |
25 |
# exit 1 |
25 |
exit 1 |
26 |
} |
26 |
} |
27 |
} |
27 |
} |
28 |
|
28 |
|
|
|
29 |
src_unpack() { |
30 |
unpack ${A} |
31 |
|
32 |
# Patch that fixes some bad CFLAGS specified in the Makefiles. |
33 |
# Closes Bug #29783 |
34 |
epatch ${FILESDIR}/${P}-bad-cflags-fix.patch |
35 |
} |
36 |
|
29 |
src_compile() { |
37 |
src_compile() { |
30 |
cp ${S}/libdes/Makefile ${S}/libdes/Makefile.orig |
38 |
cp ${S}/libdes/Makefile ${S}/libdes/Makefile.orig |
31 |
sed s:/usr/local:/usr:g < ${S}/libdes/Makefile.orig \ |
39 |
sed s:/usr/local:/usr:g < ${S}/libdes/Makefile.orig \ |