summaryrefslogtreecommitdiff
path: root/package/libavl/patches/patch-GNUmakefile.orig
blob: 88ca6044ba4bca7deea7b496603ea6cd1207d901 (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
--- avl-0.3.5.orig/GNUmakefile	2002-11-15 19:57:48.000000000 +0100
+++ avl-0.3.5/GNUmakefile	2011-05-10 13:51:44.000000000 +0200
@@ -15,7 +15,7 @@ CFLAGS ?= -O2 -fomit-frame-pointer -pipe
 #CFLAGS = -g -pg -a -pipe -march=i686 -Wall
 #LDFLAGS = -s
 
-prefix ?= /usr/local
+prefix ?= /usr
 libdir ?= $(prefix)/lib
 includedir ?= $(prefix)/include
 includedir ?= /usr/include
@@ -41,13 +41,13 @@ clean:
 
 install: all
 	$(INSTALL) -d $(DESTDIR)$(libdir)
+	$(INSTALL) -d $(DESTDIR)$(includedir)
 	$(INSTALL) avl.h $(DESTDIR)$(includedir)
 	$(INSTALL) $(LIBRARIES) $(DESTDIR)$(libdir)
 	for i in $(LIBRARIES); do\
 		$(LN) -sf $$i $(DESTDIR)$(libdir)/$${i%.*};\
 		$(LN) -sf $${i%.*} $(DESTDIR)$(libdir)/$${i%.*.*};\
 	done
-	-$(LDCONFIG)
 
 .PHONY: clean install all
 .PRECIOUS: %.h %.c