summaryrefslogtreecommitdiff
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
parentffcd63c07987b93e9474fc7b8a4a9ab9a003671f (diff)
downloaddh-illumos-7183011965b67dd6c42806a7edf7569df49d9841.tar.gz
dh_illumos_gate: set initial value of POST_PROCESS_O to :HEADv9.6.2master
-rw-r--r--debian/changelog6
-rwxr-xr-xdh_illumos_gate5
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index a52d1fb..e2262e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dh-illumos (9.6.2) UNRELEASED; urgency=medium
+
+ * dh_illumos_gate: set initial value of POST_PROCESS_O to :
+
+ -- Igor Pashev <pashev.igor@gmail.com> Wed, 21 Oct 2015 14:57:33 +0300
+
dh-illumos (9.6.1) unstable; urgency=medium
* dh_illumos_gate: unset LDFLAGS (for sure) and CFLAGS (just in case)
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 . ',;