opnsense-ports/devel/ice/files/patch-py-python-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

16 lines
660 B
Text

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