Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 10264 Details for
Bug 18848
netpbm-10.11.5-r2 fix for sparc, replaces -mcpu with working value
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
replace-flags added, swaps -mcpu=ultrasparc -> v8
netpbm-10.11.5-r2.ebuild (text/plain), 1.77 KB, created by
Joshua Kinard
on 2003-04-06 05:58:28 UTC
(
hide
)
Description:
replace-flags added, swaps -mcpu=ultrasparc -> v8
Filename:
MIME Type:
Creator:
Joshua Kinard
Created:
2003-04-06 05:58:28 UTC
Size:
1.77 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.11.5-r2.ebuild,v 1.1 2003/03/20 13:59:36 vladimir Exp $ > >IUSE="svga" > >S=${WORKDIR}/${P} >DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats" >SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" >HOMEPAGE="http://netpbm.sourceforge.net/" > >DEPEND=">=media-libs/jpeg-6b > >=media-libs/tiff-3.5.5 > >=media-libs/libpng-1.2.1 > svga? ( media-libs/svgalib )" > >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="~x86 ~ppc ~sparc alpha ~mips ~hppa ~arm" > >src_unpack() { > unpack ${A} > cd ${S} > > if [ "${ARCH}" != "x86" ] ; then > cfg="config" > else > if [ -n "`use svga`" ] > then > cfg="svga" > else > cfg="config" > fi > fi > > # Sparc doesn't like ultrasparc for -mcpu, so fix it > replace-flags "-mcpu=ultrasparc" "-mcpu=v8" > replace-flags "-mcpu=v9" "-mcpu=v8" > > sed <${FILESDIR}/${PV}/Makefile.${cfg} >Makefile.config \ > -e "s|-O3|${CFLAGS}|" >} > >src_compile() { > MAKEOPTS="${MAKEOPTS} -j1" > emake CC="${CC}" CXX="${CXX}"|| die >} > >src_install () { > make package pkgdir=${D}/usr/ || die > > # Fix symlink not being created. > dosym `basename ${D}/usr/lib/libnetpbm.so.*` /usr/lib/libnetpbm.so > > dodir /usr/share > rm -rf ${D}/usr/bin/doc.url > rm -rf ${D}/usr/man/web > rm -rf ${D}/usr/link > rm -rf ${D}/usr/README > rm -rf ${D}/usr/pkginfo > mv ${D}/usr/man/ ${D}/usr/share/man ># mv ${D}/usr/misc/* ${D}/usr/lib > rm -rf ${D}/usr/misc > > #dosym /usr/bin/gemtopnm /usr/bin/gemtopbm > #dosym /usr/bin/pnmtoplainpnm /usr/bin/pnmnoraw > > #insinto /usr/include > #doins pnm/{pam,pnm}.h ppm/{ppm,pgm,pbm}.h > #doins pbmplus.h shhopt/shhopt.h > > dodoc COPYRIGHT.PATENT GPL_LICENSE.txt HISTORY \ > Netpbm.programming README* netpbm.lsm \ > doc/* >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 18848
: 10264