summaryrefslogtreecommitdiff
path: root/user/heirloom-devtools/configure.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-12-12 04:41:16 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-12-12 04:41:38 -0600
commit68d3758eaa1d21de0b83304ecdef74546d7af594 (patch)
treec58bd460a1463ea21729624fdd66a24c8c83c483 /user/heirloom-devtools/configure.patch
parentb51b3fb97a304930e9a236f11d7defc376300aba (diff)
downloadpackages-68d3758eaa1d21de0b83304ecdef74546d7af594.tar.gz
packages-68d3758eaa1d21de0b83304ecdef74546d7af594.tar.bz2
packages-68d3758eaa1d21de0b83304ecdef74546d7af594.tar.xz
packages-68d3758eaa1d21de0b83304ecdef74546d7af594.zip
user/heirloom-devtools: tonight we're gonna party like it's 1988
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.