summaryrefslogtreecommitdiff
path: root/packages/gpe-irc/gpe-irc-0.07/fix_makefile.patch
blob: de180632807de4e8ec41d133518f84dc6d0d19df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -urNd ../gpe-irc-0.07-r0/gpe-irc-0.07/Makefile gpe-irc-0.07/Makefile
--- ../gpe-irc-0.07-r0/gpe-irc-0.07/Makefile	2004-08-03 15:40:50.000000000 +0100
+++ gpe-irc-0.07/Makefile	2004-08-03 16:01:29.000000000 +0100
@@ -1,12 +1,13 @@
 PREFIX = /usr/local
 PACKAGE = gpe-irc
 VERSION = 0.07
-DEBUG = yes
+DEBUG = no
 CVSBUILD = no
+BUILD = ./build
 
 ifeq ($(DEBUG),yes)
 CFLAGS += -O2 -g -DDEBUG
-LDFLAGS = -g #-lefence
+LDFLAGS += -g #-lefence
 else
 CFLAGS += -Os -fomit-frame-pointer
 endif
@@ -41,7 +42,7 @@
 	$(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS)
 
 install-program: all
-	install -D $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
+	install -D -s $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
 	install -D -m 644 $(PACKAGE).png $(DESTDIR)$(PREFIX)/share/pixmaps/$(PACKAGE).png
 	install -d $(DESTDIR)$(PREFIX)/share/gpe/pixmaps/default/irc
 	install -d $(DESTDIR)$(PREFIX)/share/gpe/pixmaps/default/irc/smileys
@@ -56,7 +57,6 @@
 	install -m 644 pixmaps/colors/blue.png $(DESTDIR)$(PREFIX)/share/gpe/pixmaps/default/irc/colors/blue.png
 	mkdir -p $(DESTDIR)$(PREFIX)/share/applications
 	install -m 644 $(PACKAGE).desktop $(DESTDIR)$(PREFIX)/share/applications/
-	strip $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
 
 clean:
 	rm -f $(PACKAGE) $(OBJS) $(DEPS)