summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-11-26 03:11:58 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-11-26 03:11:58 +0000
commit43c3c5685a7664f69123441349542597e850e1de (patch)
tree0f97db098a2b5935cf92891de3d7620d6479419f /app-backup
parentFix depend/rdepend and make it build with --as-needed. (diff)
downloadgentoo-2-43c3c5685a7664f69123441349542597e850e1de.tar.gz
gentoo-2-43c3c5685a7664f69123441349542597e850e1de.tar.bz2
gentoo-2-43c3c5685a7664f69123441349542597e850e1de.zip
Fix building with --as-needed, respect LDFLAGS, don't strip.
(Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 x86_64)
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/hdup/ChangeLog5
-rw-r--r--app-backup/hdup/hdup-2.0.14.ebuild12
2 files changed, 15 insertions, 2 deletions
diff --git a/app-backup/hdup/ChangeLog b/app-backup/hdup/ChangeLog
index 4f8da785199e..96e1393cc298 100644
--- a/app-backup/hdup/ChangeLog
+++ b/app-backup/hdup/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-backup/hdup
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/hdup/ChangeLog,v 1.8 2008/04/21 11:07:36 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/hdup/ChangeLog,v 1.9 2008/11/26 03:11:58 flameeyes Exp $
+
+ 26 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org> hdup-2.0.14.ebuild:
+ Fix building with --as-needed, respect LDFLAGS, don't strip.
21 Apr 2008; Luca Longinotti <chtekk@gentoo.org> hdup-1.6.37.ebuild,
hdup-2.0.14.ebuild:
diff --git a/app-backup/hdup/hdup-2.0.14.ebuild b/app-backup/hdup/hdup-2.0.14.ebuild
index 164f7a0e9010..0e9bffd6933c 100644
--- a/app-backup/hdup/hdup-2.0.14.ebuild
+++ b/app-backup/hdup/hdup-2.0.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/hdup/hdup-2.0.14.ebuild,v 1.4 2008/04/21 11:07:36 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/hdup/hdup-2.0.14.ebuild,v 1.5 2008/11/26 03:11:58 flameeyes Exp $
KEYWORDS="~amd64 ~x86"
DESCRIPTION="Hdup is backup program using tar, find, gzip/bzip2, mcrypt and ssh."
@@ -23,6 +23,16 @@ RDEPEND="${DEPEND}
DEPEND="${DEPEND}
dev-util/pkgconfig"
+src_unpack() {
+ unpack ${A}
+
+ sed -i \
+ -e '/hdup:/s|${HDR}.*||' \
+ -e 's:GLIB_LIBS *=:LDLIBS =:' \
+ -e '/-o hdup/,+1d' \
+ "${S}"/src/Makefile.in || die "Makefile fix failed"
+}
+
src_compile() {
econf || die "econf failed"
emake || die "emake failed"