summaryrefslogtreecommitdiff
path: root/user/heirloom-devtools/configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/heirloom-devtools/configure.patch')
-rw-r--r--user/heirloom-devtools/configure.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/user/heirloom-devtools/configure.patch b/user/heirloom-devtools/configure.patch
new file mode 100644
index 000000000..614adf94f
--- /dev/null
+++ b/user/heirloom-devtools/configure.patch
@@ -0,0 +1,54 @@
+--- heirloom-devtools-070527/mk.config.old 2007-05-27 11:56:51.000000000 -0500
++++ heirloom-devtools-070527/mk.config 2017-11-24 21:27:26.961471332 -0600
+@@ -17,12 +17,12 @@
+ #
+ # A BSD-compatible install command.
+ #
+-INSTALL=/usr/ucb/install
++INSTALL=/usr/bin/install
+
+ #
+ # Prefix.
+ #
+ PREFIX=/usr/ccs
+
+ #
+ # Where to place binaries.
+@@ -32,7 +32,7 @@
+ #
+ # Where to place additional binaries that aim at POSIX conformance.
+ #
+-SUSBIN=/usr/5bin/posix
++SUSBIN=$(PREFIX)/bin
+
+ #
+ # Where to place libraries.
+@@ -47,7 +47,7 @@
+ #
+ # Binaries are stripped with this command after installation.
+ #
+-STRIP=strip
++STRIP=true
+
+ #
+ # C++ compiler.
+@@ -57,8 +57,8 @@
+ #
+ # Compiler flags.
+ #
+-CFLAGS=-O
+-CXXFLAGS=-O
++CFLAGS ?= -O
++CXXFLAGS ?= -O
+
+ #
+ # C preprocessor flags.
+@@ -76,7 +76,7 @@
+ #
+ # Linker flags.
+ #
+-LDFLAGS=
++LDFLAGS ?=
+
+ #
+ # Additional libraries to link with.