diff options
author | Romain Tartière <romain@FreeBSD.org> | 2011-09-21 19:17:19 +0000 |
---|---|---|
committer | Romain Tartière <romain@FreeBSD.org> | 2011-09-21 19:17:19 +0000 |
commit | 6975c61b05a431cedf9f23d96aca49c436f094cd (patch) | |
tree | 6856eb68843bd06dc4ba57683a9e539a8b0f8126 /devel/monodevelop-python/files/patch-Makefile | |
parent | 87a0d6110f34d5d182a96b3b91afeeace066df0f (diff) | |
download | ports-6975c61b05a431cedf9f23d96aca49c436f094cd.tar.gz ports-6975c61b05a431cedf9f23d96aca49c436f094cd.zip |
Notes
Diffstat (limited to 'devel/monodevelop-python/files/patch-Makefile')
-rw-r--r-- | devel/monodevelop-python/files/patch-Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/devel/monodevelop-python/files/patch-Makefile b/devel/monodevelop-python/files/patch-Makefile new file mode 100644 index 000000000000..a0feadbe822f --- /dev/null +++ b/devel/monodevelop-python/files/patch-Makefile @@ -0,0 +1,56 @@ + +$FreeBSD$ + +--- Makefile.orig ++++ Makefile +@@ -25,14 +25,14 @@ + @set . $$MAKEFLAGS; final_exit=:; \ + case $$2 in --unix) shift ;; esac; \ + case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \ +- make pre-$*-hook prefix=$(prefix) ; \ ++ $(MAKE) pre-$*-hook prefix=$(prefix) ; \ + for dir in $(call quote_each,$(SUBDIRS)); do \ + case "$$dir" in \ +- .) make $*-local || { final_exit="exit 1"; $$dk; };;\ +- *) (cd "$$dir" && make $*) || { final_exit="exit 1"; $$dk; };;\ ++ .) $(MAKE) $*-local || { final_exit="exit 1"; $$dk; };;\ ++ *) (cd "$$dir" && $(MAKE) $*) || { final_exit="exit 1"; $$dk; };;\ + esac \ + done; \ +- make post-$*-hook prefix=$(prefix) ; \ ++ $(MAKE) post-$*-hook prefix=$(prefix) ; \ + $$final_exit + + $(CONFIG_MAKE): +@@ -46,18 +46,18 @@ + dist: $(CONFIG_MAKE) + rm -rf $(PACKAGE)-$(VERSION) + mkdir $(PACKAGE)-$(VERSION) +- make pre-dist-hook distdir=$$distdir ++ $(MAKE) pre-dist-hook distdir=$$distdir + for dir in $(call quote_each,$(SUBDIRS)); do \ + pkgdir=`pwd`/$(PACKAGE)-$(VERSION); \ + mkdir "$$pkgdir/$$dir" || true; \ + case $$dir in \ +- .) make dist-local "distdir=$$pkgdir" || exit 1;; \ +- *) (cd "$$dir"; make dist-local "distdir=$$pkgdir/$$dir") || exit 1;; \ ++ .) $(MAKE) dist-local "distdir=$$pkgdir" || exit 1;; \ ++ *) (cd "$$dir"; $(MAKE) dist-local "distdir=$$pkgdir/$$dir") || exit 1;; \ + esac \ + done +- (make dist-local distdir=$(PACKAGE)-$(VERSION)) +- make +- make post-dist-hook "distsir=$$distdir" ++ ($(MAKE) dist-local distdir=$(PACKAGE)-$(VERSION)) ++ $(MAKE) ++ $(MAKE) post-dist-hook "distsir=$$distdir" + tar czvf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) + rm -rf $(PACKAGE)-$(VERSION) + @echo "==========================================" +@@ -68,5 +68,5 @@ + (mkdir test; cd test; \ + tar xzvf ../$(PACKAGE)-$(VERSION).tar.gz; cd $(PACKAGE)-$(VERSION); \ + ./configure --prefix=$$(cd `pwd`/..; pwd); \ +- make && make install && make dist); ++ $(MAKE) && $(MAKE) install && $(MAKE) dist); + rm -rf test |