Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (696603e5798b96abdd4e49cc98e39ea6880219f2)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Treeve Jelbert <treeve AT scarlet.be>
  • To: <sm-commit AT lists.ibiblio.org>
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (696603e5798b96abdd4e49cc98e39ea6880219f2)
  • Date: Fri, 21 Sep 2018 13:56:44 +0200

On Fri, 21 Sep 2018 07:37:01 -0400, Pavel Vinogradov wrote:
wouldn't it delete all symlinks in $INSTALL_ROOT/usr/lib?


no. I tested it and only dangling symlinks created by smgl-gl_select were deleted
This was necessary because the install fails if these symlinks are still present.


On Fri, Sep 21, 2018 at 11:08:22AM +0000, Treeve Jelbert wrote:
GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:

graphics-libs/mesa/PRE_INSTALL | 12 ++++++++++++

commit 277b8e1e6d16887862ca351fc4a5a4e3e757105a
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

mesa - add PRE_INSTALL

diff --git a/graphics-libs/mesa/PRE_INSTALL b/graphics-libs/mesa/PRE_INSTALL
new file mode 100755
index 0000000..e44139d
--- /dev/null
+++ b/graphics-libs/mesa/PRE_INSTALL
@@ -0,0 +1,12 @@
+if spell_ok $SPELL;then
+ dispel --notriggers $SPELL
+fi &&
+# cleanup broken symlinks, left over from smgl-gl_select
+if ! is_depends_enabled: $SPELL smgl-gl_select;then
+ for C in $(find -L $INSTALL_ROOT/usr/lib -type l) ; do
+ rm $C
+ done &&
+ for C in $(find -L $INSTALL_ROOT/usr/include/GL -type l) ; do
+ rm $C
+ done
+fi





Archive powered by MHonArc 2.6.24.

Top of Page