]> git.pld-linux.org Git - packages/cracklib.git/commitdiff
- allow passing libdir to makefile
authorJacek Konieczny <jajcus@pld-linux.org>
Thu, 18 Dec 2003 23:00:38 +0000 (23:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cracklib-libdir.patch -> 1.1

cracklib-libdir.patch [new file with mode: 0644]

diff --git a/cracklib-libdir.patch b/cracklib-libdir.patch
new file mode 100644 (file)
index 0000000..b4c5218
--- /dev/null
@@ -0,0 +1,21 @@
+diff -durN -x '*~' cracklib,2.7.orig/cracklib/Makefile cracklib,2.7/cracklib/Makefile
+--- cracklib,2.7.orig/cracklib/Makefile        2004-12-18 23:51:34.575367592 +0100
++++ cracklib,2.7/cracklib/Makefile     2004-12-18 23:52:52.645499128 +0100
+@@ -11,6 +11,8 @@
+ CFLAGS        = $(OPTFLAGS) -I../cracklib -DIN_CRACKLIB -fPIC
+ LD    = ld
++libdir        = /usr/lib
++
+ $(LIB):       $(OBJ) Makefile
+       $(LD) -shared -soname $(LIB).$(MAJOR) -o $(LIB).$(VERSION) $(OBJ) -lc
+       rm -f $(LIB).$(MAJOR) $(LIB)
+@@ -21,6 +23,6 @@
+       -rm -f $(OBJ) $(LIB) $(LIB).$(VERSION) *~
+ install: $(LIB) crack.h
+-      install -m 755 $(LIB).$(VERSION) $(ROOT)/usr/lib
+-      ln -sf $(LIB).$(VERSION) $(ROOT)/usr/lib/$(LIB)
++      install -m 755 $(LIB).$(VERSION) $(ROOT)$(libdir)
++      ln -sf $(LIB).$(VERSION) $(ROOT)$(libdir)/$(LIB)
+       install -m 644 crack.h $(ROOT)/usr/include
This page took 0.117756 seconds and 4 git commands to generate.