diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-12-14 19:12:55 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-12-14 19:12:55 +0000 |
commit | 6479734d2a66d33e31ec4f6145da0a50fdae571f (patch) | |
tree | f066aabaadae0897dddbbca026b366e504eaaed3 /sci-misc | |
parent | Marking gnu-classpath-0.98-r1 ppc64 for bug 296215 (diff) | |
download | gentoo-2-6479734d2a66d33e31ec4f6145da0a50fdae571f.tar.gz gentoo-2-6479734d2a66d33e31ec4f6145da0a50fdae571f.tar.bz2 gentoo-2-6479734d2a66d33e31ec4f6145da0a50fdae571f.zip |
Fixed ppm support and share/lib issues. Thanks Zak Kipling, bug #272266
(Portage version: 2.2_rc58/cvs/Linux x86_64)
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/ncview/ChangeLog | 5 | ||||
-rw-r--r-- | sci-misc/ncview/ncview-1.93g.ebuild | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/sci-misc/ncview/ChangeLog b/sci-misc/ncview/ChangeLog index 52304ceaa846..08313b3f293a 100644 --- a/sci-misc/ncview/ChangeLog +++ b/sci-misc/ncview/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-misc/ncview # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v 1.15 2009/12/12 18:30:02 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ChangeLog,v 1.16 2009/12/14 19:12:55 bicatali Exp $ + + 14 Dec 2009; Sébastien Fabbro <bicatali@gentoo.org> ncview-1.93g.ebuild: + Fixed ppm support and share/lib issues. Thanks Zak Kipling, bug #272266 *ncview-1.93g (12 Dec 2009) diff --git a/sci-misc/ncview/ncview-1.93g.ebuild b/sci-misc/ncview/ncview-1.93g.ebuild index b1541883b928..f31e200a82a7 100644 --- a/sci-misc/ncview/ncview-1.93g.ebuild +++ b/sci-misc/ncview/ncview-1.93g.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-1.93g.ebuild,v 1.1 2009/12/12 18:30:02 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-1.93g.ebuild,v 1.2 2009/12/14 19:12:55 bicatali Exp $ EAPI=2 -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="X-based viewer for netCDF files" SRC_URI="ftp://cirrus.ucsd.edu/pub/ncview/${P}.tar.gz" @@ -21,14 +21,20 @@ DEPEND="sci-libs/netcdf RDEPEND="${DEPEND}" src_configure() { + # Makefile doesn't actually respect --with-ppm_incdir + append-flags -I/usr/include/netpbm # force netpbm (could be a use flag, but worth it?) econf \ --x-libraries=/usr/$(get_libdir) \ --x-include=/usr/include \ - --with-libppm \ + --with-ppm_incdir=/usr/include/netpbm \ $(use_with udunits) } +src_compile() { + emake NCVIEW_LIB_DIR="/usr/share/${PN}" || die "emake failed" +} + src_install() { local appdef=/usr/share/X11/app-defaults dodir ${appdef} |