79a9ce0553
From the PR submitter: - Update to 20100608 - Support amd64 natively - Update DISTFILES location to use Sourceforge - Add LICENSE_FILE - Ensure add-local-cross script is executable - Clean up old patches, replace trivial patches by REINPLACE_CMD - Mark SMLNJ option as broken for now. - Mark jobs unsafe. From myself: - Unexpire. - Add stage support - Add USE_GCC=any - Convert to USES - New LIB_DEPENDS format - Remove pre-FreeBSD 7.0 compatibility - Pass maintainership to submitter PR: ports/177406 Submitted by: Timothy Beyer <beyert@cs.ucr.edu> Approved by: previous maintainer timeout (11 months)
25 lines
828 B
Text
25 lines
828 B
Text
--- Makefile.orig 2010-06-11 06:35:30.000000000 -0700
|
|
+++ Makefile 2013-03-25 20:23:46.000000000 -0700
|
|
@@ -34,7 +34,11 @@
|
|
PATH := $(BIN):$(SRC)/bin:$(shell echo $$PATH)
|
|
CP := /bin/cp -fpR
|
|
GZIP := gzip --force --best
|
|
+ifeq ($(TARGET), mingw32)
|
|
+RANLIB := $(TARGET)-ranlib
|
|
+else
|
|
RANLIB := ranlib
|
|
+endif
|
|
|
|
# If we're compiling with another version of MLton, then we want to do
|
|
# another round of compilation so that we get a MLton built without
|
|
@@ -401,6 +405,10 @@
|
|
cd "$(TLIB)/sml"; for i in */[Dd]oc; do mv "$$i" "$(TDOC)/$$i"; done
|
|
cd "$(TLIB)/sml"; for i in */README*; do mv "$$i" "$(TDOC)/$$i"; done
|
|
|
|
+remove-docs:
|
|
+ cd "$(TLIB)/sml"; for i in */[Dd]oc; do rm -rf "$$i"; done
|
|
+ cd "$(TLIB)/sml"; for i in */README*; do rm -rf "$$i"; done
|
|
+
|
|
.PHONY: release
|
|
release: version
|
|
tar cvzf ../mlton-$(VERSION).tar.gz \
|