mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 21:00:30 -04:00
- Pet portlint - Switch to options helpers - Simplify STAGEDIR handling Approved by: portmgr blanket
14 lines
448 B
Text
14 lines
448 B
Text
--- 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 = $(DESTDIR)$(ERL_DIR)/addons/$(ESDL_VSN)
|
|
else
|
|
-INSTALLDIR = $(INSTALL_DIR)/$(ESDL_VSN)
|
|
+INSTALLDIR = $(DESTDIR)$(INSTALL_DIR)/$(ESDL_VSN)
|
|
endif
|
|
|
|
## I assume that make install are only made on unixes... :-)
|