1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/japanese/uim/files/patch-gtk:Makefile.in
MANTANI Nobutaka 0d64777336 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
2005-03-01 19:39:18 +00:00

28 lines
1.3 KiB
Plaintext

--- 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)