~cypheon/pkgsrc-wip

pkgsrc-wip/haxe/patches/patch-Makefile -rw-r--r-- 381 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD$

Support variable PREFIX (without modification)

--- Makefile.orig	2019-10-25 23:09:16.000000000 +0000
+++ Makefile
@@ -10,7 +10,8 @@
 #
 .SUFFIXES : .ml .mli .cmo .cmi .cmx .mly
 
-INSTALL_DIR=/usr/local
+PREFIX?=/usr/local
+INSTALL_DIR=$(PREFIX)
 INSTALL_BIN_DIR=$(INSTALL_DIR)/bin
 INSTALL_LIB_DIR=$(INSTALL_DIR)/lib/haxe
 INSTALL_STD_DIR=$(INSTALL_DIR)/share/haxe/std