Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 190244 Details for
Bug 196294
Support for service scripts in baselayout-prefix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch against baselayout-prefix
baselayout-prefix-1.12.5-r6.ebuild.diff (text/plain), 2.14 KB, created by
Dirk Tilger
on 2009-05-03 19:05:46 UTC
(
hide
)
Description:
Updated patch against baselayout-prefix
Filename:
MIME Type:
Creator:
Dirk Tilger
Created:
2009-05-03 19:05:46 UTC
Size:
2.14 KB
patch
obsolete
>--- /Gentoo/usr/portage/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r6.ebuild 2009-04-11 23:52:23 +0400 >+++ /Gentoo/usr/portage/local/layman/prefix-users/sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r6.ebuild 2009-05-03 22:54:13 +0400 >@@ -17,7 +17,9 @@ > DEPEND=">=sys-apps/portage-2.0.51" > RDEPEND=">=sys-libs/readline-5.0-r1 > >=app-shells/bash-3.1_p7 >- >=sys-apps/coreutils-5.2.1" >+ >=sys-apps/coreutils-5.2.1 >+ ppc-macos? ( sys-process/pidof-bsd ) >+ x86-macos? ( sys-process/pidof-bsd )" > > PROVIDE="virtual/baselayout" > >@@ -28,13 +30,23 @@ > > epatch "${FILESDIR}"/${P/-prefix/}-prefix.patch > use prefix-chaining && epatch "${FILESDIR}"/${P/-prefix/}-prefix-chaining.patch >+ epatch "${FILESDIR}"/${P/-prefix/}-src.patch >+ epatch "${FILESDIR}"/${P/-prefix/}-sh.patch >+ # Next patch is to be applied on systems that don't have a pidof. >+ epatch "${FILESDIR}"/${P/-prefix/}-pidof.patch >+ # The consoletype application in this form will only work on Linux >+ [[ ${CHOST} == *-linux-* ]] || epatch "${FILESDIR}"/${P/-prefix/}-no-consoletype.patch > cd "${S}" > eprefixify \ > etc/env.d/00basic \ > etc/profile \ > sbin/env-update.sh \ > sbin/functions.sh \ >- sbin/runscript.sh >+ sbin/runscript.sh \ >+ src/runscript.c \ >+ sbin/depscan.sh \ >+ sbin/rc-daemon.sh \ >+ sbin/rc-services.sh > # add the host OS MANPATH > echo 'MANPATH="/usr/share/man"' > etc/env.d/99basic || die "can't make file" > } >@@ -45,11 +57,11 @@ > [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}") > > # doesn't compile on Darwin >- #make -C "${S}"/src \ >- # CC="$(tc-getCC)" \ >- # LD="$(tc-getCC) ${LDFLAGS}" \ >- # CFLAGS="${CFLAGS}" \ >- # LIBDIR="${libdir}" || die >+ make -C "${S}"/src \ >+ CC="$(tc-getCC)" \ >+ LD="$(tc-getCC) ${LDFLAGS}" \ >+ CFLAGS="${CFLAGS}" \ >+ LIBDIR="${libdir}" || die > } > > src_install() { >@@ -128,8 +140,11 @@ > [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}") > > # doesn't compile on Darwin >- #cd "${S}"/src >- #make DESTDIR="${D}" LIBDIR="${libdir}" install || die >+ cd "${S}"/src >+ make DESTDIR="${ED}" LIBDIR="${libdir}" install || die >+ >+ insinto ${rcscripts_dir}/sh >+ doins "${S}"/sbin/rc-* > } > > pkg_postinst() {
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 196294
:
133760
|
133761
|
133762
|
133766
|
133767
|
133768
|
133770
|
133772
| 190244 |
190245