summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2004-12-03 15:19:25 +0000
committerAaron Walker <ka0ttic@gentoo.org>2004-12-03 15:19:25 +0000
commit33e921ee0c80ece8446933321fd27eed77dd9614 (patch)
treee71ada2b5c3712345c813c6fa44010ceecc34cc8 /sys-apps
parentpurging insecure versions (diff)
downloadhistorical-33e921ee0c80ece8446933321fd27eed77dd9614.tar.gz
historical-33e921ee0c80ece8446933321fd27eed77dd9614.tar.bz2
historical-33e921ee0c80ece8446933321fd27eed77dd9614.zip
Give USE=debug some respect and append -DDEBUGGING to CFLAGS if enabled.
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/vixie-cron/ChangeLog5
-rw-r--r--sys-apps/vixie-cron/Manifest10
-rw-r--r--sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild9
3 files changed, 14 insertions, 10 deletions
diff --git a/sys-apps/vixie-cron/ChangeLog b/sys-apps/vixie-cron/ChangeLog
index 8c46e28cfb2d..0280b6575005 100644
--- a/sys-apps/vixie-cron/ChangeLog
+++ b/sys-apps/vixie-cron/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/vixie-cron
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/ChangeLog,v 1.42 2004/12/02 12:09:24 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/ChangeLog,v 1.43 2004/12/03 15:19:25 ka0ttic Exp $
+
+ 03 Dec 2004; Aaron Walker <ka0ttic@gentoo.org> vixie-cron-4.1-r4.ebuild:
+ Give USE=debug some respect and append -DDEBUGGING to CFLAGS if enabled.
02 Dec 2004; Aaron Walker <ka0ttic@gentoo.org>
files/vixie-cron-4.1-commandline.patch:
diff --git a/sys-apps/vixie-cron/Manifest b/sys-apps/vixie-cron/Manifest
index 95c1ac258f11..ee77949bb594 100644
--- a/sys-apps/vixie-cron/Manifest
+++ b/sys-apps/vixie-cron/Manifest
@@ -5,9 +5,9 @@ MD5 570905ddd12bf81d50d21a591343775c vixie-cron-4.1-r3.ebuild 2661
MD5 3ff8b5eb733d9a828e916a46eabfa6ca vixie-cron-3.0.1-r4.ebuild 1852
MD5 141bf296f623dc44f4bfa4d856dc21fa vixie-cron-3.0.1-r1.ebuild 1502
MD5 dd33c1120b51b3d049054c798c20d5fa vixie-cron-3.0.1-r3.ebuild 1748
-MD5 62f3110bd082b9d8f1e7d3e6951b8d27 vixie-cron-4.1-r4.ebuild 3080
+MD5 699011ae95ed8db3694530b20ded4e98 vixie-cron-4.1-r4.ebuild 3131
MD5 ab3b7df1ed3ce81f23a9050de83ca101 vixie-cron-3.0.1-r5.ebuild 2035
-MD5 c1ca6035edc673147397993789a3e45b ChangeLog 10352
+MD5 935ca3b1784102725d8c7a5e0030a908 ChangeLog 10503
MD5 0fcc78652b11c683f3fe76d614934379 metadata.xml 288
MD5 8692002451e69ee31d667eb2d0dc904d files/vixie-cron-4.1-cron.deny 220
MD5 90b7dda2ca0ecdd2f4dcd9764eaa2358 files/crontab-3.0.1-r4 617
@@ -30,7 +30,7 @@ MD5 1915f29deae7e87c569877f1dbbbec67 files/vixie-cron-3.0.1-selinux.diff.bz2 185
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFBrwZDEZCkKN40op4RAqg0AKCIQ504/3VbpabrszS5+FRYz1NqGACgs5IN
-Xa938cprgYGTGE/TVI3aRbo=
-=5GuX
+iD8DBQFBsIQGEZCkKN40op4RAtlMAJ9wmjGNH9R3D5p501FjvvGSsOuUsgCgmkuA
+dTTipKRJACAgKFfZ7y4kOnQ=
+=SeUd
-----END PGP SIGNATURE-----
diff --git a/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild b/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild
index 0968c01cf14b..dd2ffc7146c0 100644
--- a/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild
+++ b/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild,v 1.5 2004/11/30 17:21:32 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/vixie-cron-4.1-r4.ebuild,v 1.6 2004/12/03 15:19:25 ka0ttic Exp $
-inherit eutils flag-o-matic toolchain-funcs
+inherit eutils flag-o-matic toolchain-funcs debug
# no useful homepage, bug #65898
HOMEPAGE="ftp://ftp.isc.org/isc/cron/"
@@ -17,7 +17,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2
SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 ~ppc sparc ~alpha ~mips ~hppa ~ia64 ~amd64 ~ppc64"
-IUSE="selinux pam"
+IUSE="selinux pam debug"
DEPEND=">=sys-apps/portage-2.0.47-r10
>=sys-apps/sed-4.0.5
@@ -34,7 +34,6 @@ PROVIDE="virtual/cron"
src_unpack() {
unpack ${A}
-
cd ${S}
epatch ${WORKDIR}/${P}-gentoo-${GENTOO_PATCH_REV}.patch
@@ -52,6 +51,8 @@ src_compile() {
# that our changes to LDFLAGS are picked up.
append-ldflags -Wl,-z,now
+ use debug && append-flags -DDEBUGGING
+
sed -i -e "s:gcc \(-Wall.*\):$(tc-getCC) \1 ${CFLAGS}:" \
-e "s:^\(LDFLAGS[ \t]\+=\).*:\1 ${LDFLAGS}:" Makefile \
|| die "sed Makefile failed"