summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-05-31 14:09:52 +0000
committerTim Harder <radhermit@gentoo.org>2012-05-31 14:09:52 +0000
commit798dc74ac7c2b4215f579f2e5c778a4a12b6e798 (patch)
treedbea305111c7704217132f50da8257360251a0e9 /dev-util/ccglue
parentVersion bump. (diff)
downloadhistorical-798dc74ac7c2b4215f579f2e5c778a4a12b6e798.tar.gz
historical-798dc74ac7c2b4215f579f2e5c778a4a12b6e798.tar.bz2
historical-798dc74ac7c2b4215f579f2e5c778a4a12b6e798.zip
Respect CFLAGS.
Package-Manager: portage-2.2.0_alpha108/cvs/Linux x86_64
Diffstat (limited to 'dev-util/ccglue')
-rw-r--r--dev-util/ccglue/ChangeLog6
-rw-r--r--dev-util/ccglue/Manifest19
-rw-r--r--dev-util/ccglue/ccglue-0.5.1.ebuild9
-rw-r--r--dev-util/ccglue/files/ccglue-0.5.1-cflags.patch13
4 files changed, 36 insertions, 11 deletions
diff --git a/dev-util/ccglue/ChangeLog b/dev-util/ccglue/ChangeLog
index b28f74121fee..2eb04f6d0b7d 100644
--- a/dev-util/ccglue/ChangeLog
+++ b/dev-util/ccglue/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/ccglue
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ccglue/ChangeLog,v 1.6 2012/05/31 14:04:38 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ccglue/ChangeLog,v 1.7 2012/05/31 14:09:52 radhermit Exp $
+
+ 31 May 2012; Tim Harder <radhermit@gentoo.org> ccglue-0.5.1.ebuild,
+ +files/ccglue-0.5.1-cflags.patch:
+ Respect CFLAGS.
*ccglue-0.5.1 (31 May 2012)
diff --git a/dev-util/ccglue/Manifest b/dev-util/ccglue/Manifest
index 6f4dc8830548..81a318917691 100644
--- a/dev-util/ccglue/Manifest
+++ b/dev-util/ccglue/Manifest
@@ -2,20 +2,21 @@
Hash: SHA512
AUX ccglue-0.3.1-as-needed.patch 345 RMD160 466c5497bc6bb96cbbaeb0d3ab8aea1cd002c573 SHA1 32c1ee8e36a8258fadf7c0e95b54090a20be7650 SHA256 6be62084887e0560d0ec46cdbd5d68d9d72f4efda95535db40d68a9c57f7f548
+AUX ccglue-0.5.1-cflags.patch 338 RMD160 d2b6ac101d47c5f731ffb1aa0d5c04ff2285dae1 SHA1 1756daeb0d84c63a92ffc47585b9bc4cab25d564 SHA256 96199e6b98b5e972ee33b8629fe70e815a3f4981af4cd2d4472ec4c3015b9288
DIST ccglue-release-0.3.1.tar.gz 101529 RMD160 55d0371980db3d75af382f5967176b8b8c761c8a SHA1 afe4ab55dcff18e72625b8f3a3e1d6da11d39fc2 SHA256 9954bb2af56e8bc313820081f4d45c564b34804978c5a7682846ae98a941b332
DIST ccglue-release-0.5.1.tar.bz2 122346 RMD160 35348f89b94ae39e2ed2aee2d6f1c4188210d4c4 SHA1 6d4116a9cf3d100584eb09dcd8245d19a9a46e7c SHA256 fa7c3610230fc238eb46a8d98ddf4c6fac94c9227f6f3d4139635aaaa867d012
EBUILD ccglue-0.3.1.ebuild 678 RMD160 88422093f91dd8328171ed5f43371d8cce68880b SHA1 3ed7cce5aa774a7b96e77305671f4823f2837915 SHA256 a3c6bc142c751563139bd0ddb7da54561f8c697102fc25bc0a90578327497c25
-EBUILD ccglue-0.5.1.ebuild 514 RMD160 17d20d674d6e7948edfdb8312265fbef9e0d14bb SHA1 be79ef627a94575690cef0b832eab5bae611aa3b SHA256 3414eaa193fdfe4511473e730e0dab7cb4bf6227bc6a3a27d44676da755ac048
-MISC ChangeLog 992 RMD160 82f7c45737d23773c915b8cd7f35f76dd1fcb464 SHA1 714a16bfa56c3921228483c09227ccf3858507b0 SHA256 e19fca8b3a1a9c6b5d58763941a62a2db8a7a6428d9660b7a7912526fdd02330
+EBUILD ccglue-0.5.1.ebuild 612 RMD160 ff90ccc50fa5531cc31eb5baefe496eb3f4069bb SHA1 d6080eec68df79b10b98bba9b7e50e3805d10a84 SHA256 bec4b4f3b6e46d2d7654d1e0a617e687e54ba5bc0badaea595c871e9a3882479
+MISC ChangeLog 1117 RMD160 5d321873d38a365b528ad5112d453378df23f308 SHA1 25b1042e8bf5992f103a7523c5f653783df054cc SHA256 deb4d545cffd06b8b1bcd4cc2e7a3c190e622fbf0f915318d1d991f57dc04283
MISC metadata.xml 396 RMD160 41d03531b8bdf7a2db07ab1fac5a30d722ad23f9 SHA1 d2123f39f5ffa3b8231b5bcdeefdab2f8c92e689 SHA256 5ee3ca1db2c3ac8f66bcfeaebe7389e34f0db234e65edfb109aec574cdc05424
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCgAGBQJPx3p8AAoJEEqz6FtPBkyjQkYH/2qanKmrqpOvL56SPJ/iDnbP
-suNWC+9gvBpVfy0pxCCwOfSWdzW/fG5Bl2P27R3d5wkGOBClsVjXv8hXm0ySwGyV
-WkVo1OuGuuFopnC7uQ6WDq9iVqPG2ORvaxt8XwibUJbscusHQfFQTF3RQY5Fe1tB
-KEshAWlNMF6DpiRhs+BfvO/DHW6s4K8aTW1CmXBorBpWmTDJHr33PmVBqH4mRtyl
-uXD8AA6Ca/JoBzcL8ouKGwnU6h3hJoQCxuoMNyBdEb1DFraJPSZOhddC+/2NGQVq
-SO4AFgs1kj3FtAsGHgeuisPHtYhSdyjjDvAsIrO2DO1QnPQily5HMD7UwKwEiOg=
-=YYA7
+iQEcBAEBCgAGBQJPx3u2AAoJEEqz6FtPBkyj67sIAI56pNyLuKmnO7fKZxWNj6+/
+J7Eb7qvh22NfgxQAKbIAvgUWJqcedZJsS6gmA/ZIJyFCF6fb6RVrFCpUKvSx3KnX
+Z/d/O90aqBok11hJD4UefEbIrMkbqjMNYjxP8hzVBCdl4tKlns5rdr5SQXsrvb5L
+psOKI66Nh4OHcFqaNDfodETHVjB2Uaa5HDIK2fHP7dD3QtS6N8xMxe8Ql7nbkLVx
+SrbnzFpFfNkm982ZtrYiz2KbDHKDC63enFM7Lq/Lyqhq5NYMfz8kj+uBXBEvzCDx
+0NhO2XEbxhON3cOSev30HOqJOXypXUIMVURh/5MRFJbeRF97jUeW6qb/pQ0d5yI=
+=tAkM
-----END PGP SIGNATURE-----
diff --git a/dev-util/ccglue/ccglue-0.5.1.ebuild b/dev-util/ccglue/ccglue-0.5.1.ebuild
index c5af73217e91..ae37563fcd78 100644
--- a/dev-util/ccglue/ccglue-0.5.1.ebuild
+++ b/dev-util/ccglue/ccglue-0.5.1.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ccglue/ccglue-0.5.1.ebuild,v 1.1 2012/05/31 14:04:38 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ccglue/ccglue-0.5.1.ebuild,v 1.2 2012/05/31 14:09:52 radhermit Exp $
EAPI=4
+inherit autotools eutils
+
DESCRIPTION="Produce cross-reference files from cscope and ctags for use with app-vim/cctree"
HOMEPAGE="http://ccglue.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${PN}-release-${PV}.tar.bz2"
@@ -14,3 +16,8 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
S=${WORKDIR}/${PN}_v${PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ eautoreconf
+}
diff --git a/dev-util/ccglue/files/ccglue-0.5.1-cflags.patch b/dev-util/ccglue/files/ccglue-0.5.1-cflags.patch
new file mode 100644
index 000000000000..5d0b294f4ca4
--- /dev/null
+++ b/dev-util/ccglue/files/ccglue-0.5.1-cflags.patch
@@ -0,0 +1,13 @@
+--- ccglue_v0.5.1/configure.in
++++ ccglue_v0.5.1/configure.in
+@@ -19,10 +19,7 @@
+ [want_debug="$enableval"], [want_debug=no])
+
+ if test "x$want_debug" = "xyes"; then
+- CXXFLAGS="$CXXFLAGS -O0 -ggdb"
+ AC_DEFINE([DEBUG], 1, [Define for debugging])
+-else
+- CXXFLAGS="$CXXFLAGS -O2"
+ fi
+
+ AC_CXX_HAVE_SSTREAM