summaryrefslogtreecommitdiff
path: root/dh_illumos_gate
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2015-10-21 14:58:39 +0300
committerIgor Pashev <pashev.igor@gmail.com>2015-10-21 14:58:39 +0300
commit7183011965b67dd6c42806a7edf7569df49d9841 (patch)
tree827b337a28c8aaf77c5f14e17d8cc4d3825860f3 /dh_illumos_gate
parentffcd63c07987b93e9474fc7b8a4a9ab9a003671f (diff)
downloaddh-illumos-master.tar.gz
dh_illumos_gate: set initial value of POST_PROCESS_O to :HEADv9.6.2master
Diffstat (limited to 'dh_illumos_gate')
-rwxr-xr-xdh_illumos_gate5
1 files changed, 5 insertions, 0 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate
index e639b1c..f2b4630 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -329,6 +329,10 @@ not tolerant here. Also replace option C<-f> with C<-t>.
Append C<i386_XARCH> with C<-m32> since native host compiler can produce 64-bit
code by default.
+Set initial value of C<POST_PROCESS_O> to C<:> since it may be appended
+later with other commands separated by C<;>, but bash and dash
+do not like stand-alone C<;>. Korn shell is ok.
+
Explicitly undefine some CPP macros related to amd64 for building 32-bit
objects, e. i. options like C<-U__amd64> are appended to C<i386_XARCH>
and C<i386_AS_XARCH>.
@@ -382,6 +386,7 @@ if ( -f $Makefile_master ) {
doit(
'sed', '-r', '-i', '
/^INS\.(file|dir)/ s, -s,,;
+ s/^POST_PROCESS_O\s*=\s*$/POST_PROCESS_O = :/;
/^INS\.file/ s, -f, -t,;
/^i386_XARCH\s*=/s,$, -m32 ' . $i386_undef . ',;
/^i386_AS_XARCH\s*=/s,$, ' . $i386_undef . ',;