1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Don't make ${X11BASE}/lib/gtk-2.0/2.4.0/immodules directory if gtk2

isn't installed.
This change is forgotten in the previous commit.

Reported by:	pointyhat via kris and krion
This commit is contained in:
MANTANI Nobutaka 2005-03-01 19:39:18 +00:00
parent 4a22ea0359
commit 0d64777336
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130111
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,27 @@
--- gtk/Makefile.in.orig Wed Mar 2 02:29:13 2005
+++ gtk/Makefile.in Wed Mar 2 02:37:44 2005
@@ -308,15 +308,15 @@
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
moduleLTLIBRARIES_INSTALL = $(INSTALL)
install-moduleLTLIBRARIES: $(module_LTLIBRARIES)
- @$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(moduledir)
- @list='$(module_LTLIBRARIES)'; for p in $$list; do \
- if test -f $$p; then \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
- echo " $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(moduledir)/$$f"; \
- $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(moduledir)/$$f; \
- else :; fi; \
- done
+@GTK2_TRUE@ @$(NORMAL_INSTALL)
+@GTK2_TRUE@ $(mkinstalldirs) $(DESTDIR)$(moduledir)
+@GTK2_TRUE@ @list='$(module_LTLIBRARIES)'; for p in $$list; do \
+@GTK2_TRUE@ if test -f $$p; then \
+@GTK2_TRUE@ f="`echo $$p | sed -e 's|^.*/||'`"; \
+@GTK2_TRUE@ echo " $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(moduledir)/$$f"; \
+@GTK2_TRUE@ $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(moduledir)/$$f; \
+@GTK2_TRUE@ else :; fi; \
+@GTK2_TRUE@ done
uninstall-moduleLTLIBRARIES:
@$(NORMAL_UNINSTALL)

View File

@ -0,0 +1,27 @@
--- gtk/Makefile.in.orig Wed Mar 2 02:29:13 2005
+++ gtk/Makefile.in Wed Mar 2 02:37:44 2005
@@ -308,15 +308,15 @@
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
moduleLTLIBRARIES_INSTALL = $(INSTALL)
install-moduleLTLIBRARIES: $(module_LTLIBRARIES)
- @$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(moduledir)
- @list='$(module_LTLIBRARIES)'; for p in $$list; do \
- if test -f $$p; then \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
- echo " $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(moduledir)/$$f"; \
- $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(moduledir)/$$f; \
- else :; fi; \
- done
+@GTK2_TRUE@ @$(NORMAL_INSTALL)
+@GTK2_TRUE@ $(mkinstalldirs) $(DESTDIR)$(moduledir)
+@GTK2_TRUE@ @list='$(module_LTLIBRARIES)'; for p in $$list; do \
+@GTK2_TRUE@ if test -f $$p; then \
+@GTK2_TRUE@ f="`echo $$p | sed -e 's|^.*/||'`"; \
+@GTK2_TRUE@ echo " $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(moduledir)/$$f"; \
+@GTK2_TRUE@ $(LIBTOOL) --mode=install $(moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(moduledir)/$$f; \
+@GTK2_TRUE@ else :; fi; \
+@GTK2_TRUE@ done
uninstall-moduleLTLIBRARIES:
@$(NORMAL_UNINSTALL)