]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/pwlib
Netzwerkscripts erweitert.
[people/pmueller/ipfire-2.x.git] / lfs / pwlib
index 37207c0037d92c87a0edaade6ab6e72ec869ed02..6390266d5c234bf1259cef4c31cff98960190f07 100644 (file)
--- a/lfs/pwlib
+++ b/lfs/pwlib
@@ -75,11 +75,9 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xfz $(DIR_DL)/$(DL_FILE)
-       ln -sf -v $(DIR_SRC)/pwlib* $(DIR_APP)
-#      mv -f $(DIR_SRC)/pwlib* $(DIR_SRC)/pwlib
-#      mv -f /usr/include/ldap.h /
+       rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xfz $(DIR_DL)/$(DL_FILE)
+       if [ -f /usr/include/ldap.h ]; then mv -f /usr/include/ldap.h / ; fi
        cd $(DIR_APP) && ./configure --prefix=/usr
-#      mv -f /ldap.h /usr/include      
+       if [ -f /ldap.h ]; then mv -f /ldap.h /usr/include/ ; fi
        cd $(DIR_APP) && make opt && make install
        @$(POSTBUILD)