First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 172946
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Alon Bar-Lev (RETIRED) <alonbl@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 172946 depends on: Show dependency tree
Show dependency graph
Bug 172946 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-01 00:10 0000
# cd /usr/portage/sys-apps/suspend2-userui
# grep static suspend2-userui-0.7.0.ebuild
IUSE="fbsplash static"
        # allow for static linking for use in initramfs/initrd
        use static && LDFLAGS="${LDFLAGS} -static"
# ebuild suspend2-userui-0.6.4-r2.ebuild unpack &>/dev/null
# ebuild suspend2-userui-0.7.0.ebuild unpack &>/dev/null
# cd /var/tmp/portage/sys-apps
# diff -u suspend2-userui-0.6.4-r2/work/suspend2-userui-0.6.4/Makefile
suspend2-userui-0.7.0/work/suspend2-userui-0.7.0/Makefile
--- suspend2-userui-0.6.4-r2/work/suspend2-userui-0.6.4/Makefile       
2006-06-06 19:25:10.000000000 +0200
+++ suspend2-userui-0.7.0/work/suspend2-userui-0.7.0/Makefile   2007-01-16
23:16:46.000000000 +0100
@@ -1,5 +1,5 @@
 CFLAGS := -Wall -O3 -g
-LDFLAGS :=
+LDFLAGS :=

 DESTDIR :=
 PREFIX := /usr/local
@@ -22,10 +22,10 @@
        make -C $@ all

 suspend2ui_text: $(CORE_OBJECTS) userui_text.o
-       $(CC) $(LDFLAGS) $^ -o $@
+       $(CC) $(LDFLAGS) -static $^ -o $@

 suspend2ui_fbsplash: $(CORE_OBJECTS) fbsplash/userui_fbsplash.o
-       $(CC) $(LDFLAGS) $^ -o $@ $(FBSPLASH_LIBS)
+       $(CC) $(LDFLAGS) -static $^ -o $@ $(FBSPLASH_LIBS)

 suspend2ui_usplash: $(CORE_OBJECTS) usplash/userui_usplash.o
        $(CC) $(filter-out -static,$(LDFLAGS)) $^ -o $@ $(USPLASH_LIBS)
#

Either "static" USE flag should be deleted in this case, or simple patch to
Makefile should be created.

------- Comment #1 From Alon Bar-Lev (RETIRED) 2007-04-01 08:00:34 0000 -------
You are right.
Upstream delivers a different behavior each release.
I will remove the use flag for now... I hope static behavior will be kept.

First Last Prev Next    No search results available      Search page      Enter new bug