lua-ldap for EL8
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
579 B

diff -ur lualdap-1.1.0.orig/Makefile lualdap-1.1.0/Makefile
--- lualdap-1.1.0.orig/Makefile 2007-03-14 08:07:33.000000000 +1000
+++ lualdap-1.1.0/Makefile 2014-06-05 15:33:23.377297238 +1000
@@ -20,9 +20,9 @@
$(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c
install: src/$(LIBNAME)
- mkdir -p $(LUA_LIBDIR)
- cp src/$(LIBNAME) $(LUA_LIBDIR)
- cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so
+ mkdir -p $(DESTDIR)$(LUA_LIBDIR)
+ install -p -m0755 src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR)
+ ln -s $(LIBNAME) $(DESTDIR)$(LUA_LIBDIR)/$T.so
clean:
rm -f $(OBJS) src/$(LIBNAME)