diff options
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | dh_illumos_gate | 5 |
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 . ',; |