diff options
Diffstat (limited to 'media-libs/netpbm/netpbm-9.12-r4.ebuild')
-rw-r--r-- | media-libs/netpbm/netpbm-9.12-r4.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/media-libs/netpbm/netpbm-9.12-r4.ebuild b/media-libs/netpbm/netpbm-9.12-r4.ebuild index d83b967e435f..a9d65d854e74 100644 --- a/media-libs/netpbm/netpbm-9.12-r4.ebuild +++ b/media-libs/netpbm/netpbm-9.12-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-9.12-r4.ebuild,v 1.8 2003/04/19 19:36:25 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-9.12-r4.ebuild,v 1.9 2003/04/22 23:04:35 lostlogic Exp $ S=${WORKDIR}/${P} DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats" @@ -23,7 +23,11 @@ src_unpack() { src_compile() { MAKEOPTS="${MAKEOPTS} -j1" - emake CC="${CC}" CXX="${CXX}"|| die "Make failed" + local myopts="" + [ -n ${CC} ] && myopts="${myopts} CC=\"${CC}\"" + [ -n ${CXX} ] && myopts="${myopts} CXX=\"${CXX}\"" + einfo "myopts=${myopts}" + emake ${myopts}|| die "Make failed" } src_install () { |