]> git.pld-linux.org Git - packages/cracklib.git/blob - cracklib-libdir.patch
- all bconds fixed.
[packages/cracklib.git] / cracklib-libdir.patch
1 diff -durN -x '*~' cracklib,2.7.orig/cracklib/Makefile cracklib,2.7/cracklib/Makefile
2 --- cracklib,2.7.orig/cracklib/Makefile 2004-12-18 23:51:34.575367592 +0100
3 +++ cracklib,2.7/cracklib/Makefile      2004-12-18 23:52:52.645499128 +0100
4 @@ -11,6 +11,8 @@
5  CFLAGS = $(OPTFLAGS) -I../cracklib -DIN_CRACKLIB -fPIC
6  LD     = ld
7  
8 +libdir = /usr/lib
9 +
10  $(LIB):        $(OBJ) Makefile
11         $(LD) -shared -soname $(LIB).$(MAJOR) -o $(LIB).$(VERSION) $(OBJ) -lc
12         rm -f $(LIB).$(MAJOR) $(LIB)
13 @@ -21,6 +23,6 @@
14         -rm -f $(OBJ) $(LIB) $(LIB).$(VERSION) *~
15  
16  install: $(LIB) crack.h
17 -       install -m 755 $(LIB).$(VERSION) $(ROOT)/usr/lib
18 -       ln -sf $(LIB).$(VERSION) $(ROOT)/usr/lib/$(LIB)
19 +       install -m 755 $(LIB).$(VERSION) $(ROOT)$(libdir)
20 +       ln -sf $(LIB).$(VERSION) $(ROOT)$(libdir)/$(LIB)
21         install -m 644 crack.h $(ROOT)/usr/include
This page took 0.092231 seconds and 3 git commands to generate.