1 |
commit: 03b1fb456466b0b3440996123486d5b8cd22b4a2 |
2 |
Author: Yuta SATOH <nigoro.dev <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Oct 11 13:45:57 2016 +0000 |
4 |
Commit: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp> |
5 |
CommitDate: Tue Oct 11 13:45:57 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoo-bsd.git/commit/?id=03b1fb45 |
7 |
|
8 |
freebsd.eclass: Always disable DEBUG_FILES= |
9 |
|
10 |
eclass/freebsd.eclass | 8 +++++--- |
11 |
1 file changed, 5 insertions(+), 3 deletions(-) |
12 |
|
13 |
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass |
14 |
index 5d4562a..8f6b204 100644 |
15 |
--- a/eclass/freebsd.eclass |
16 |
+++ b/eclass/freebsd.eclass |
17 |
@@ -80,7 +80,7 @@ if [[ ${MY_PV} != *9999* ]] && version_is_at_least 10.0 ${RV} ; then |
18 |
SRC_URI="mirror://freebsd/releases/i386/${DL_PV}/src.txz -> freebsd-src-${MY_PV}.tar.xz" |
19 |
fi |
20 |
|
21 |
-IUSE="debug profile" |
22 |
+IUSE="profile" |
23 |
|
24 |
#unalias -a |
25 |
alias install-info='/usr/bin/bsdinstall-info' |
26 |
@@ -230,7 +230,8 @@ freebsd_src_compile() { |
27 |
if ! use profile ; then |
28 |
mymakeopts="${mymakeopts} WITHOUT_PROFILE= " |
29 |
fi |
30 |
- use debug || mymakeopts="${mymakeopts} WITHOUT_DEBUG_FILES= " |
31 |
+ # Disable debugging info, use FEATURES=splitdebug instead. |
32 |
+ mymakeopts="${mymakeopts} WITHOUT_DEBUG_FILES= " |
33 |
# Test does not support yet. |
34 |
mymakeopts="${mymakeopts} WITHOUT_TESTS= " |
35 |
# Force set SRCTOP. |
36 |
@@ -305,7 +306,8 @@ freebsd_src_install() { |
37 |
if ! use profile ; then |
38 |
mymakeopts="${mymakeopts} WITHOUT_PROFILE= " |
39 |
fi |
40 |
- use debug || mymakeopts="${mymakeopts} WITHOUT_DEBUG_FILES= " |
41 |
+ # Disable debugging info, use FEATURES=splitdebug instead. |
42 |
+ mymakeopts="${mymakeopts} WITHOUT_DEBUG_FILES= " |
43 |
# Test does not support yet. |
44 |
mymakeopts="${mymakeopts} WITHOUT_TESTS= " |
45 |
# Force set SRCTOP. |