aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-py-python-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ice/files/patch-py-python-Makefile')
-rw-r--r--devel/ice/files/patch-py-python-Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/ice/files/patch-py-python-Makefile b/devel/ice/files/patch-py-python-Makefile
new file mode 100644
index 000000000000..3afcfe039544
--- /dev/null
+++ b/devel/ice/files/patch-py-python-Makefile
@@ -0,0 +1,16 @@
+--- py/python/Makefile.orig 2010-07-11 13:05:38.000000000 +1000
++++ py/python/Makefile 2012-09-11 00:09:09.000000000 +2000
+@@ -118,10 +118,11 @@
+
+ install:: $(ALL_SRCS)
+ @echo "Installing generated code"
+- $(INSTALL_DATA) *.py $(DESTDIR)$(install_pythondir)
++ $(INSTALL_DATA) *.py* $(DESTDIR)$(install_pythondir)
+ @for i in $(PACKAGES) ; \
+ do \
+- $(INSTALL_DATA) -r $$i $(DESTDIR)$(install_pythondir) ; \
++ mkdir -p $(DESTDIR)$(install_pythondir)/$$i ; \
++ $(INSTALL_DATA) $$i/*.py* $(DESTDIR)$(install_pythondir)/$$i ; \
+ done
+
+ depend:: $(ICE_SLICE) $(GLACIER2_SLICE) $(ICEBOX_SLICE) $(ICEGRID_SLICE) $(ICEPATCH2_SLICE) $(ICESTORM_SLICE)