Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 728652 Details for
Bug 805491
[PATCH] app-eselect/eselect-emacs: Set symlink in /usr/include
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
(draft) Add symlink to /usr/include
file_805491.txt (text/plain), 1.18 KB, created by
akater
on 2021-07-31 11:20:54 UTC
(
hide
)
Description:
(draft) Add symlink to /usr/include
Filename:
MIME Type:
Creator:
akater
Created:
2021-07-31 11:20:54 UTC
Size:
1.18 KB
patch
obsolete
>Symlink emacs in /usr/include/, as this is needed for modules >todo: update comments to mention include > >--- a/emacs.eselect >+++ b/emacs.eselect >@@ -1,5 +1,5 @@ > # -*-eselect-*- >-# Copyright 2005-2014 Gentoo Foundation >+# Copyright 2005-2021 Gentoo Foundation > # Distributed under the terms of the GNU GPL version 2 or later > # > # DOCUMENTATION >@@ -54,6 +54,7 @@ > for f in emacs ${BINARYLIST}; do > rm -f "${EROOT}/usr/bin/${f}" > done >+ rm -f "${EROOT}/usr/include/emacs" > for f in emacs ${MANPAGELIST}; do > rm -f "${EROOT}/usr/share/man/man1/${f}.1"* > done >@@ -72,6 +73,16 @@ > done > } > >+set_include_symlink() { >+ # Set symlink to header files in /usr/include/ >+ local target=$1 >+ # set symlink only if target directory actually exists >+ if [[ -d ${EROOT}/usr/include/${target} ]]; then >+ ln -s "${target}" "${EROOT}/usr/include/emacs" || die \ >+ "Couldn't set ${target} ${EROOT}/usr/include/emacs symlink" >+ fi >+} >+ > set_man_symlinks() { > # Set symlinks to man pages > local target=$1 suffix f i >@@ -119,6 +130,7 @@ > done > fi > set_bin_symlinks "${target}" >+ set_include_symlink "${target}" > set_man_symlinks "${target}" > set_infopath "${target}" >
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 805491
: 728652