Lines 20-29
Link Here
|
20 |
|
20 |
|
21 |
src_prepare() { |
21 |
src_prepare() { |
22 |
epatch "${FILESDIR}/p3scan-ocreat.patch" |
22 |
epatch "${FILESDIR}/p3scan-ocreat.patch" |
|
|
23 |
|
24 |
# respect CC (bug #244144), and CFLAGS (bug #240786) |
25 |
sed -i -e 's:^CC=:#CC=:' \ |
26 |
-e 's:^CFLAGS=-Wall -O2 :CFLAGS+=:' Makefile |
27 |
# same for the bundled ripmime, but also silencing make jobserver complaints |
28 |
sed -i -e 's:^CC=:#CC=:' \ |
29 |
-e 's:^CFLAGS=-Wall -g -O2 :CFLAGS+=:' \ |
30 |
-e 's:\t./:\t+./:' ripmime/Makefile ripmime/Makefile |
23 |
} |
31 |
} |
24 |
|
32 |
|
25 |
src_compile() { |
33 |
src_compile() { |
26 |
emake || die |
34 |
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die |
27 |
} |
35 |
} |
28 |
|
36 |
|
29 |
src_install () { |
37 |
src_install () { |