diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-18 07:03:59 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-18 07:03:59 +0000 |
commit | 882da66976f9b2590e50dca2a1feca7694e3ab66 (patch) | |
tree | e808b9dece073eedbd0792ebf8ee13a5a498f33a /dev-libs/libsigc++/libsigc++-1.2.5.ebuild | |
parent | Running auto* tools to fix a problem discussed in bug #54009. (diff) | |
download | historical-882da66976f9b2590e50dca2a1feca7694e3ab66.tar.gz historical-882da66976f9b2590e50dca2a1feca7694e3ab66.tar.bz2 historical-882da66976f9b2590e50dca2a1feca7694e3ab66.zip |
Fixed dependencies. Ebuild cleanup. Detect bad ACLOCAL_FLAGS. Closes bug #54099.
Diffstat (limited to 'dev-libs/libsigc++/libsigc++-1.2.5.ebuild')
-rw-r--r-- | dev-libs/libsigc++/libsigc++-1.2.5.ebuild | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/dev-libs/libsigc++/libsigc++-1.2.5.ebuild b/dev-libs/libsigc++/libsigc++-1.2.5.ebuild index 57005c9f62f6..a8be99810319 100644 --- a/dev-libs/libsigc++/libsigc++-1.2.5.ebuild +++ b/dev-libs/libsigc++/libsigc++-1.2.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/libsigc++-1.2.5.ebuild,v 1.14 2004/04/25 21:00:29 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/libsigc++-1.2.5.ebuild,v 1.15 2004/06/18 07:03:59 eradicator Exp $ DESCRIPTION="Typesafe callback system for standard C++" HOMEPAGE="http://libsigc.sourceforge.net/" @@ -11,21 +11,32 @@ SLOT="1.2" KEYWORDS="x86 ppc sparc hppa amd64 alpha ia64" IUSE="debug" -DEPEND="virtual/glibc" +RDEPEND="virtual/glibc" -src_compile() { - local myconf - if [ "${ARCH}" = "amd64" ]; then - myconf="${myconf} --enabled-maintainer-mode" +DEPEND="${RDEPEND} + amd64? ( >=sys-devel/automake-1.7 )" + +src_unpack() { + unpack ${A} + cd ${S} + + if use amd64; then libtoolize -c -f --automake - aclocal -I scripts $ACLOCAL_FLAGS - automake --add-missing --copy - autoconf + WANT_AUTOMAKE=1.7 aclocal -I scripts ${ACLOCAL_FLAGS} || die "aclocal failed. Are your \$ACLOCAL_FLAGS sane?" + WANT_AUTOMAKE=1.7 automake --add-missing --copy + WANT_AUTOCONF=2.5 autoconf fi +} + +src_compile() { + local myconf + use debug \ && myconf="--enable-debug=yes" \ || myconf="--enable-debug=no" + econf ${myconf} --enable-maintainer-mode --enable-threads || die + emake || die "emake failure" } |