Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53982 Details for
Bug 74101
netpbm can be used on ppc-macos
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to the ebuild
netpbm-10.20.ebuild.diff (text/plain), 1.92 KB, created by
Benjamin Braatz
on 2005-03-20 13:33:09 UTC
(
hide
)
Description:
Patch to the ebuild
Filename:
MIME Type:
Creator:
Benjamin Braatz
Created:
2005-03-20 13:33:09 UTC
Size:
1.92 KB
patch
obsolete
>--- /usr/portage/media-libs/netpbm/netpbm-10.20.ebuild Sun Feb 13 08:09:05 2005 >+++ /usr/local/portage/media-libs/netpbm/netpbm-10.20.ebuild Fri Mar 18 15:48:39 2005 >@@ -10,7 +10,7 @@ > > LICENSE="GPL-2" > SLOT="0" >-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" >+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ppc-macos" > IUSE="svga jpeg tiff png zlib" > > DEPEND="jpeg? ( >=media-libs/jpeg-6b ) >@@ -24,25 +24,31 @@ > cd ${S} > cp Makefile.config.in Makefile.config > >+ if use ppc-macos ; then >+ sosuffix = dylib >+ else >+ sosuffix = so >+ fi >+ > if use svga ; then > echo "LINUXSVGAHDR_DIR = /usr/include" >> Makefile.config >- echo "LINUXSVGALIB = /usr/$(get_libdir)/libvga.so" >> Makefile.config >+ echo "LINUXSVGALIB = /usr/$(get_libdir)/libvga.${sosuffix}" >> Makefile.config > fi > > if use jpeg ; then >- echo "JPEGLIB = libjpeg.so" >> Makefile.config >+ echo "JPEGLIB = libjpeg.${sosuffix}" >> Makefile.config > fi > > if use png ; then >- echo "PNGLIB = libpng.so" >> Makefile.config >+ echo "PNGLIB = libpng.${sosuffix}" >> Makefile.config > fi > > if use tiff ; then >- echo "TIFFLIB = libtiff.so" >> Makefile.config >+ echo "TIFFLIB = libtiff.${sosuffix}" >> Makefile.config > fi > > if use zlib ; then >- echo "ZLIB = libz.so" >> Makefile.config >+ echo "ZLIB = libz.${sosuffix}" >> Makefile.config > fi > > # Sparc support ... >@@ -55,6 +61,7 @@ > lib/Makefile > sed -i -e 's:$(CCOPT):$(CCOPT) -fPIC:' \ > lib/util/Makefile >+ use ppc-macos && epatch ${FILESDIR}/macos.patch > } > > src_compile() { >@@ -71,7 +78,11 @@ > fi > > # Fix symlink not being created. >- dosym `basename ${D}/usr/$(get_libdir)/libnetpbm.so.*` /usr/$(get_libdir)/libnetpbm.so >+ if use ppc-macos ; then >+ dosym `basename ${D}/usr/$(get_libdir)/libnetpbm.*.dylib` /usr/$(get_libdir)/libnetpbm.dylib >+ else >+ dosym `basename ${D}/usr/$(get_libdir)/libnetpbm.so.*` /usr/$(get_libdir)/libnetpbm.so >+ fi > > dodir /usr/share > rm -rf ${D}/usr/bin/doc.url
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 74101
:
53981
|
53982
|
53983
|
65844
|
65845
|
65869
|
65946