Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122907 Details for
Bug 182905
media-libs/freetype-2.3.4 use flag to install demos
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adding "demo" use flag
freetype-ebuild.diff (text/plain), 1.23 KB, created by
kerzol
on 2007-06-23 17:27:55 UTC
(
hide
)
Description:
adding "demo" use flag
Filename:
MIME Type:
Creator:
kerzol
Created:
2007-06-23 17:27:55 UTC
Size:
1.23 KB
patch
obsolete
>--- /usr/portage/media-libs/freetype/freetype-2.3.4-r1.ebuild 2007-05-10 05:39:11.000000000 +0700 >+++ /usr/portage/media-libs/freetype/freetype-2.3.4-r99.ebuild 2007-06-24 00:28:18.000000000 +0700 >@@ -13,7 +13,7 @@ > LICENSE="FTL GPL-2" > SLOT="2" > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" >-IUSE="X bindist debug doc zlib" >+IUSE="X bindist debug doc zlib demo" > > # The RDEPEND below makes sure that if there is a version of moz/ff/tb > # installed, then it will have the freetype-2.1.8+ binary compatibility patch. >@@ -91,8 +91,11 @@ > econf $(use_with zlib) || die "econf failed" > emake || die "emake failed" > >+ if use demo; then >+ > cd ../ft2demos-${PV} > emake || die "ft2demos emake failed" >+ fi > } > > src_install() { >@@ -104,9 +107,11 @@ > #cd "${WORKDIR}"/${PN}-doc-${PV} > use doc && dohtml -r docs/* > >- rm ../ft2demos-${PV}/bin/README >- for ft2demo in ../ft2demos-${PV}/bin/*; do >- ./builds/unix/libtool --mode=install $(type -P install) -m 755 $ft2demo \ >- ${D}/usr/bin >- done >+ if use demo; then >+ rm ../ft2demos-${PV}/bin/README >+ for ft2demo in ../ft2demos-${PV}/bin/*; do >+ ./builds/unix/libtool --mode=install $(type -P install) -m 755 $ft2demo \ >+ ${D}/usr/bin >+ done >+ fi > }
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 182905
:
122815
| 122907 |
128422