summaryrefslogtreecommitdiff
path: root/packages/matchbox-panel/matchbox-panel-0.8.1/automake-lossage.patch
blob: b8a86137797e3c80020983eff76d9d627776988c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -urNa matchbox-panel-0.8.1/applets/Makefile.am matchbox-panel-0.8.1-patched/applets/Makefile.am
--- matchbox-panel-0.8.1/applets/Makefile.am	2004-02-07 12:48:56.000000000 -0500
+++ matchbox-panel-0.8.1-patched/applets/Makefile.am	2004-06-15 21:15:30.000000000 -0400
@@ -12,10 +12,12 @@
 bin_PROGRAMS =                                                    \
   mb-applet-clock    mb-applet-menu-launcher  mb-applet-wireless  \
   mb-applet-launcher mb-applet-system-monitor mb-applet-battery
-
-  mb_applet_battery_SOURCES =        mb-applet-battery.c
-  mb_applet_battery_LDADD   =        $(LIBMB_LIBS) $(SN_LIBS) -lapm  
-
+mb_applet_battery_SOURCES =        mb-applet-battery.c
+mb_applet_battery_OBJECTS =        mb-applet-battery.$(OBJEXT)
+mb_applet_battery_LDADD   =        $(LIBMB_LIBS) $(SN_LIBS) -lapm  
+mb-applet-battery$(EXEEXT): $(mb_applet_battery_OBJECTS) 
+	@rm -f mb-applet-battery$(EXEEXT)
+	$(LINK) $(mb_applet_battery_LDFLAGS) $(mb_applet_battery_OBJECTS) $(mb_applet_battery_LDADD) $(LIBS)
 else
 bin_PROGRAMS =                                                    \
   mb-applet-clock    mb-applet-menu-launcher  mb-applet-wireless  \