Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182345 - skype-1.4.0.74 wrong installation if "static" USE flag is specified
Summary: skype-1.4.0.74 wrong installation if "static" USE flag is specified
Status: RESOLVED DUPLICATE of bug 182248
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-17 16:26 UTC by Gianni Costanzi
Modified: 2007-06-17 20:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
skype-1.4.0.74.ebuild patch for "static" USE flag (skype_static.patch,480 bytes, patch)
2007-06-17 16:27 UTC, Gianni Costanzi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gianni Costanzi 2007-06-17 16:26:10 UTC
If you emerge skype-1.4.0.74 specifying the "static" use flag, it does not install correctly because it does not find some files (skype executable and the sounds subdirectory). I solved the problem by patching the corresponding ebuild in the following way and it seems to work. You experts can see if it is a good patch :)


--- old/skype-1.4.0.74.ebuild   2007-06-17 18:23:39.466031253 +0200
+++ new/skype-1.4.0.74.ebuild   2007-06-17 18:23:32.242133304 +0200
@@ -39,7 +39,12 @@
 QA_EXECSTACK_x86="opt/skype/skype"
 QA_EXECSTACK_amd64="opt/skype/skype"
 
-S="${WORKDIR}"/${MY_PN}-${MY_PV}
+if use static;
+then
+       S="${WORKDIR}"/${MY_PN}_static-${MY_PV}
+else
+       S="${WORKDIR}"/${MY_PN}-${MY_PV}
+fi
 
 pkg_setup() {
        if use amd64 && ! use static;


Reproducible: Always

Steps to Reproduce:
USE=static emerge =skype-1.4.0.74
Comment 1 Gianni Costanzi 2007-06-17 16:27:34 UTC
Created attachment 122339 [details, diff]
skype-1.4.0.74.ebuild patch for "static" USE flag
Comment 2 Markus Rathgeb 2007-06-17 17:38:04 UTC
i think this is a duplicate of bug #182248
http://bugs.gentoo.org/show_bug.cgi?id=182248
Comment 3 Gianni Costanzi 2007-06-17 19:03:30 UTC

*** This bug has been marked as a duplicate of bug 182248 ***