ports/devel/esdl/files/patch-Makefile
Jimmy Olgeni 9af122c34a - Switch to USES=gmake.
- Add staging support.
- Remove indefinite article from COMMENT.
2013-11-11 15:08:48 +00:00

17 lines
462 B
Text

$FreeBSD$
--- Makefile.orig
+++ Makefile
@@ -51,9 +51,9 @@
ERL_DIR := $(shell erl -noshell -eval "io:format([126,115,126,110],[code:root_dir()])" -s erlang halt)
ifeq ($(INSTALL_DIR), )
-INSTALLDIR = $(ERL_DIR)/addons/$(ESDL_VSN)
+INSTALLDIR = $(STAGEDIR)$(ERL_DIR)/addons/$(ESDL_VSN)
else
-INSTALLDIR = $(INSTALL_DIR)/$(ESDL_VSN)
+INSTALLDIR = $(STAGEDIR)$(INSTALL_DIR)/$(ESDL_VSN)
endif
## I assume that make install are only made on unixes... :-)