diff options
author | johans <johans@FreeBSD.org> | 2011-07-26 03:40:47 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2011-07-26 03:40:47 +0800 |
commit | 62f88d3ba9135249c5cc0a6bb1d072ec901c00fa (patch) | |
tree | bc34411d690103b2029c75a5a485edde5c40a199 /lang/moscow_ml/files/patch-runtime::Makefile | |
parent | 4a7a0522fed5ce5a39bae23ddcd586380c4ecc9e (diff) | |
download | freebsd-ports-gnome-62f88d3ba9135249c5cc0a6bb1d072ec901c00fa.tar.gz freebsd-ports-gnome-62f88d3ba9135249c5cc0a6bb1d072ec901c00fa.tar.zst freebsd-ports-gnome-62f88d3ba9135249c5cc0a6bb1d072ec901c00fa.zip |
- Respect $CC
- Fix build with clang
Diffstat (limited to 'lang/moscow_ml/files/patch-runtime::Makefile')
-rw-r--r-- | lang/moscow_ml/files/patch-runtime::Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/moscow_ml/files/patch-runtime::Makefile b/lang/moscow_ml/files/patch-runtime::Makefile index 1d05c283b559..a52bf07ea01f 100644 --- a/lang/moscow_ml/files/patch-runtime::Makefile +++ b/lang/moscow_ml/files/patch-runtime::Makefile @@ -9,3 +9,14 @@ primitives : $(PRIMS) sed -n -e '/\/\* ML \*\//s/.* \([a-zA-Z0-9_][a-zA-Z0-9_]*\) *(.*/\1/p' \ +@@ -87,8 +87,8 @@ + depend : prims.c opnames.h jumptbl.h + mv Makefile Makefile.bak + (sed -n -e '1,/^### DO NOT DELETE THIS LINE/p' Makefile.bak; \ +- gcc -MM -I.. $(OPTS) *.c; \ +- gcc -MM -I.. $(OPTS) -DDEBUG *.c | sed -e 's/\.o/.d.o/') > Makefile ++ $(CC) -MM -I.. $(OPTS) *.c; \ ++ $(CC) -MM -I.. $(OPTS) -DDEBUG *.c | sed -e 's/\.o/.d.o/') > Makefile + rm Makefile.bak + + ### EVERYTHING THAT GOES BEYOND THIS COMMENT WILL BE ERASED WITHOUT WARNING |