1 |
mgorny 13/04/01 09:16:07 |
2 |
|
3 |
Modified: ChangeLog autotools-utils.eclass |
4 |
Log: |
5 |
Support setting mode of prune_libtool_files through AUTOTOOLS_PRUNE_LIBTOOL_FILES. |
6 |
|
7 |
Revision Changes Path |
8 |
1.761 eclass/ChangeLog |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.761&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.761&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.760&r2=1.761 |
13 |
|
14 |
Index: ChangeLog |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
17 |
retrieving revision 1.760 |
18 |
retrieving revision 1.761 |
19 |
diff -u -r1.760 -r1.761 |
20 |
--- ChangeLog 30 Mar 2013 20:14:41 -0000 1.760 |
21 |
+++ ChangeLog 1 Apr 2013 09:16:07 -0000 1.761 |
22 |
@@ -1,6 +1,10 @@ |
23 |
# ChangeLog for eclass directory |
24 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.760 2013/03/30 20:14:41 hd_brummy Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.761 2013/04/01 09:16:07 mgorny Exp $ |
27 |
+ |
28 |
+ 01 Apr 2013; Michał Górny <mgorny@g.o> autotools-utils.eclass: |
29 |
+ Support setting mode of prune_libtool_files through |
30 |
+ AUTOTOOLS_PRUNE_LIBTOOL_FILES. |
31 |
|
32 |
30 Mar 2013; Joerg Bornkessel <hd_brummy@g.o> vdr-plugin-2.eclass: |
33 |
fixed missing VDRVERSION up from >=vdr-1.7.34 |
34 |
|
35 |
|
36 |
|
37 |
1.64 eclass/autotools-utils.eclass |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools-utils.eclass?rev=1.64&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools-utils.eclass?rev=1.64&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools-utils.eclass?r1=1.63&r2=1.64 |
42 |
|
43 |
Index: autotools-utils.eclass |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v |
46 |
retrieving revision 1.63 |
47 |
retrieving revision 1.64 |
48 |
diff -u -r1.63 -r1.64 |
49 |
--- autotools-utils.eclass 3 Mar 2013 00:22:56 -0000 1.63 |
50 |
+++ autotools-utils.eclass 1 Apr 2013 09:16:07 -0000 1.64 |
51 |
@@ -1,6 +1,6 @@ |
52 |
# Copyright 1999-2013 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.63 2013/03/03 00:22:56 pesa Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.64 2013/04/01 09:16:07 mgorny Exp $ |
56 |
|
57 |
# @ECLASS: autotools-utils.eclass |
58 |
# @MAINTAINER: |
59 |
@@ -184,6 +184,23 @@ |
60 |
# PATCHES=( "${FILESDIR}"/${P}-mypatch.patch ) |
61 |
# @CODE |
62 |
|
63 |
+# @ECLASS-VARIABLE: AUTOTOOLS_PRUNE_LIBTOOL_FILES |
64 |
+# @DEFAULT-UNSET |
65 |
+# @DESCRIPTION: |
66 |
+# Sets the mode of pruning libtool files. The values correspond to |
67 |
+# prune_libtool_files parameters, with leading dashes stripped. |
68 |
+# |
69 |
+# Defaults to pruning the libtool files when static libraries are not |
70 |
+# installed or can be linked properly without them. Libtool files |
71 |
+# for modules (plugins) will be kept in case plugin loader needs them. |
72 |
+# |
73 |
+# If set to 'modules', the .la files for modules will be removed |
74 |
+# as well. This is often the preferred option. |
75 |
+# |
76 |
+# If set to 'all', all .la files will be removed unconditionally. This |
77 |
+# option is discouraged and shall be used only if 'modules' does not |
78 |
+# remove the files. |
79 |
+ |
80 |
# Determine using IN or OUT source build |
81 |
_check_build_dir() { |
82 |
: ${ECONF_SOURCE:=${S}} |
83 |
@@ -511,7 +528,8 @@ |
84 |
fi |
85 |
|
86 |
# Remove libtool files and unnecessary static libs |
87 |
- prune_libtool_files |
88 |
+ local prune_ltfiles=${AUTOTOOLS_PRUNE_LIBTOOL_FILES} |
89 |
+ prune_libtool_files ${prune_ltfiles:+--${prune_ltfiles}} |
90 |
} |
91 |
|
92 |
# @FUNCTION: autotools-utils_src_test |