summaryrefslogtreecommitdiff
path: root/dev-libs/ptlib/files/ptlib-2.4.1-instplugins.diff
diff options
context:
space:
mode:
author(no author) <(no author)@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-03-16 07:55:01 +0000
committer(no author) <(no author)@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-03-16 07:55:01 +0000
commitf1e95daae05c57d935b00e611c624c5e75cd21ec (patch)
tree4065ab51d9e64882d9001a59ede7d9a4e372a4a6 /dev-libs/ptlib/files/ptlib-2.4.1-instplugins.diff
uploading my overlay ), initial commit
git-svn-id: http://172.18.13.13/svn/sss_overlay@1 4d9a9b59-111c-4e0b-8f7a-7640551abb98
Diffstat (limited to 'dev-libs/ptlib/files/ptlib-2.4.1-instplugins.diff')
-rw-r--r--dev-libs/ptlib/files/ptlib-2.4.1-instplugins.diff27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/ptlib/files/ptlib-2.4.1-instplugins.diff b/dev-libs/ptlib/files/ptlib-2.4.1-instplugins.diff
new file mode 100644
index 0000000..ba1cf35
--- /dev/null
+++ b/dev-libs/ptlib/files/ptlib-2.4.1-instplugins.diff
@@ -0,0 +1,27 @@
+--- Makefile.in.orig 2008-09-22 19:29:30.000000000 -0400
++++ Makefile.in 2008-09-22 19:28:56.000000000 -0400
+@@ -100,14 +100,16 @@
+ ln -sf $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@@BUILD_TYPE@@BUILD_NUMBER@ $(PTLIB_FILE) \
+ )
+ ifeq (1, $(HAS_PLUGINS))
+- cd $(PT_LIBDIR)/device/ ; \
+- ( for dir in ./* ;\
+- do mkdir -p $(DESTDIR)$(LIBDIR)/$(DEV_PLUGIN_DIR)/$$dir ; \
+- chmod 755 $(DESTDIR)$(LIBDIR)/$(DEV_PLUGIN_DIR)/$$dir ; \
+- (for fn in ./$$dir/*.so ; \
+- do $(INSTALL) -m 444 $$fn $(DESTDIR)$(LIBDIR)/$(DEV_PLUGIN_DIR)/$$dir; \
+- done ); \
+- done )
++ if [ -d $(PT_LIBDIR)/device ] ; then \
++ cd $(PT_LIBDIR)/device/ ; \
++ ( for dir in ./* ;\
++ do mkdir -p $(DESTDIR)$(LIBDIR)/$(DEV_PLUGIN_DIR)/$$dir ; \
++ chmod 755 $(DESTDIR)$(LIBDIR)/$(DEV_PLUGIN_DIR)/$$dir ; \
++ (for fn in ./$$dir/*.so ; \
++ do $(INSTALL) -m 444 $$fn $(DESTDIR)$(LIBDIR)/$(DEV_PLUGIN_DIR)/$$dir; \
++ done ); \
++ done ) \
++ fi
+ endif
+ $(INSTALL) -m 444 include/ptlib.h $(DESTDIR)$(PREFIX)/include
+ $(INSTALL) -m 444 include/ptbuildopts.h $(DESTDIR)$(PREFIX)/include