summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-03 02:13:07 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-03 02:13:07 +0000
commitee6b61083884088ee1e15a471c30d86ac97837c7 (patch)
tree6092d97d09b5a77e8ac9ed744ec45bbdb15a8b39 /x11-plugins/asclock
parentredigested (diff)
downloadgentoo-2-ee6b61083884088ee1e15a471c30d86ac97837c7.tar.gz
gentoo-2-ee6b61083884088ee1e15a471c30d86ac97837c7.tar.bz2
gentoo-2-ee6b61083884088ee1e15a471c30d86ac97837c7.zip
Respect LDFLAGS (bug #171351).
(Portage version: 13598-svn/cvs/Linux x86_64)
Diffstat (limited to 'x11-plugins/asclock')
-rw-r--r--x11-plugins/asclock/ChangeLog8
-rw-r--r--x11-plugins/asclock/asclock-2.0.12-r1.ebuild38
2 files changed, 25 insertions, 21 deletions
diff --git a/x11-plugins/asclock/ChangeLog b/x11-plugins/asclock/ChangeLog
index db608c4bc2b5..7e0b7eebb458 100644
--- a/x11-plugins/asclock/ChangeLog
+++ b/x11-plugins/asclock/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/asclock
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/asclock/ChangeLog,v 1.20 2008/06/26 12:50:53 drac Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/asclock/ChangeLog,v 1.21 2009/05/03 02:13:07 arfrever Exp $
+
+ 03 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ asclock-2.0.12-r1.ebuild:
+ Respect LDFLAGS (bug #171351).
08 Dec 2006; Michael Sterrett <mr_bones_@gentoo.org>
asclock-2.0.12.ebuild:
diff --git a/x11-plugins/asclock/asclock-2.0.12-r1.ebuild b/x11-plugins/asclock/asclock-2.0.12-r1.ebuild
index 39e1f244c393..a5959e79b406 100644
--- a/x11-plugins/asclock/asclock-2.0.12-r1.ebuild
+++ b/x11-plugins/asclock/asclock-2.0.12-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/asclock/asclock-2.0.12-r1.ebuild,v 1.6 2008/06/29 13:47:54 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/asclock/asclock-2.0.12-r1.ebuild,v 1.7 2009/05/03 02:13:07 arfrever Exp $
inherit eutils toolchain-funcs
@@ -29,25 +29,25 @@ src_compile() {
for x in asclock parser symbols config
do
$(tc-getCC) \
- ${CFLAGS} \
- -I/usr/include \
- -Dlinux -D__i386__ \
- -D_POSIX_C_SOURCE=199309L \
- -D_POSIX_SOURCE \
- -D_XOPEN_SOURCE \
- -D_BSD_SOURCE \
- -D_SVID_SOURCE \
- -DFUNCPROTO=15 \
- -DNARROWPROTO \
- -c -o ${x}.o ${x}.c || die "compile failed"
+ ${CPPFLAGS} ${CFLAGS} ${ASFLAGS} \
+ -I/usr/include \
+ -Dlinux -D__i386__ \
+ -D_POSIX_C_SOURCE=199309L \
+ -D_POSIX_SOURCE \
+ -D_XOPEN_SOURCE \
+ -D_BSD_SOURCE \
+ -D_SVID_SOURCE \
+ -DFUNCPROTO=15 \
+ -DNARROWPROTO \
+ -c -o ${x}.o ${x}.c || die "compile asclock failed"
done
$(tc-getCC) \
- ${CFLAGS} \
- -o asclock \
- asclock.o parser.o symbols.o config.o \
- -L/usr/lib \
- -L/usr/lib/X11 \
- -lXpm -lXext -lX11 || die "compile asclock failed"
+ ${LDFLAGS} \
+ -o asclock \
+ asclock.o parser.o symbols.o config.o \
+ -L/usr/lib \
+ -L/usr/lib/X11 \
+ -lXpm -lXext -lX11 || die "link asclock failed"
}
src_install() {