--- Encode-Detect-1.01.ebuild 2009-03-29 15:54:22.759128196 +1100 +++ Encode-Detect-1.01-r1.ebuild 2009-03-29 16:02:49.073128837 +1100 @@ -1,9 +1,9 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Encode-Detect/Encode-Detect-1.01.ebuild,v 1.2 2008/11/18 14:50:45 tove Exp $ +# $Header: $ MODULE_AUTHOR=JGMYERS -inherit perl-module +inherit perl-module flag-o-matic DESCRIPTION="Encode::Detect - An Encode::Encoding subclass that detects the encoding of data" @@ -16,3 +16,8 @@ virtual/perl-ExtUtils-CBuilder" SRC_TEST=do + +src_compile() { + append-ldflags '-lstdc++' + perl-module_src_compile +}