Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 322214 Details for
Bug 426628
sys-apps/gawk: eselect awk if unset
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for gawk-4.0.1.ebuild
gawk-4.0.1.ebuild.patch (text/plain), 895 bytes, created by
Christoph Junghans (RETIRED)
on 2012-08-26 03:24:08 UTC
(
hide
)
Description:
patch for gawk-4.0.1.ebuild
Filename:
MIME Type:
Creator:
Christoph Junghans (RETIRED)
Created:
2012-08-26 03:24:08 UTC
Size:
895 bytes
patch
obsolete
>--- gawk-4.0.1.ebuild.orig 2012-08-25 20:35:47.000000000 -0600 >+++ gawk-4.0.1.ebuild 2012-08-25 21:18:24.000000000 -0600 >@@ -46,11 +46,6 @@ > dodir /bin > mv "${ED}"/usr/bin/gawk "${ED}"/bin/ || die > dosym /bin/gawk /usr/bin/gawk >- >- # Provide canonical `awk` >- dosym gawk /bin/awk >- dosym gawk /usr/bin/awk >- dosym gawk.1 /usr/share/man/man1/awk.1 > fi > > # Install headers >@@ -63,3 +58,19 @@ > newdoc ${x} ${x##*/}.${x%%/*} > done > } >+ >+pkg_postinst() { >+ # symlink creation here as the links do not belong to gawk, but to any awk >+ if has_version eselect && has_version eselect-awk ; then >+ eselect awk update ifunset >+ else >+ local l >+ for l in /bin/awk /usr/bin/awk /usr/share/man/man1/awk.1 ; do >+ [[ ! -e ${EROOT}${l} ]] && ln -s "g${l##*/}" "${EROOT}${l}" >+ done >+ fi >+} >+ >+pkg_postrm() { >+ has_version eselect && has_version eselect-awk && eselect awk update ifunset >+}
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 426628
:
318172
|
318270
|
322214
|
322378