ifolder/dev-db/libflaim/files/libflaim-4.9.1052-no-ldconfig-1.patch
2010-01-16 09:56:06 +00:00

41 lines
1.9 KiB
Diff

Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
Date: 2010-01-16
Initial Package Version: 4.9.1052
Origin: me
Upstream Status: never accepted
Description: dont do ldconfig in sandbox
diff -Naur libflaim-4.9.1052.orig/flaim/Makefile libflaim-4.9.1052/flaim/Makefile
--- libflaim-4.9.1052.orig/flaim/Makefile 2010-01-16 08:47:31.885993339 +0000
+++ libflaim-4.9.1052/flaim/Makefile 2010-01-16 08:48:05.043193729 +0000
@@ -1902,7 +1902,7 @@
cd $(lib_install_dir); ln -fs $(lib_prefix)$(project_name).so.$(so_current).$(so_revision) $(lib_prefix)$(project_name).so.$(so_current)
endif
cd $(lib_install_dir); ln -fs $(lib_prefix)$(project_name).so.$(so_current) $(lib_prefix)$(project_name).so
- -ldconfig $(lib_install_dir)
+# -ldconfig $(lib_install_dir)
$(ec)$(gprintf) "Installation complete.\n"
endif
diff -Naur libflaim-4.9.1052.orig/ftk/Makefile libflaim-4.9.1052/ftk/Makefile
--- libflaim-4.9.1052.orig/ftk/Makefile 2010-01-16 08:47:31.859102242 +0000
+++ libflaim-4.9.1052/ftk/Makefile 2010-01-16 08:48:48.610836620 +0000
@@ -1689,7 +1689,7 @@
install --mode=644 $(ftk_static_lib) $(lib_install_dir)
install --mode=644 $(pkgconfig_file) $(pkgconfig_install_dir)
install --mode=644 src/ftk.h $(include_install_dir)
- -ldconfig $(lib_install_dir)
+# -ldconfig $(lib_install_dir)
$(ec)$(gprintf) "Installation complete.\n"
endif
@@ -1826,7 +1826,7 @@
$(ec)$(gprintf) "ln -fs $(ftk_shared_lib) /usr/lib/$(lib_prefix)$(project_name).so.$(so_current)\n" >> $(ubuntu_pkginfo_dir)/postinst
endif
$(ec)$(gprintf) "ln -fs $(ftk_shared_lib) /usr/lib/$(lib_prefix)$(project_name).so\n" >> $(ubuntu_pkginfo_dir)/postinst
- $(ec)$(gprintf) "ldconfig /usr/lib/$(ftk_shared_lib)\n" >> $(ubuntu_pkginfo_dir)/postinst
+# $(ec)$(gprintf) "ldconfig /usr/lib/$(ftk_shared_lib)\n" >> $(ubuntu_pkginfo_dir)/postinst
$(ec)chmod 0755 $(ubuntu_pkginfo_dir)/postinst
$(ec)$(gprintf) "Creating Ubuntu pre-uninstall file ...\n"