summaryrefslogtreecommitdiff
path: root/dh_illumos_gate
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-07-01 14:33:32 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-07-01 14:33:32 +0000
commita0e3938f0fb608de84c89f56203c9ab1523cdfee (patch)
tree52ddc675f2fa23e2cdb52b0067583ba62f260698 /dh_illumos_gate
parent99131d5aea78b7c1afa0d8107f962aac8c7adf02 (diff)
downloaddh-illumos-a0e3938f0fb608de84c89f56203c9ab1523cdfee.tar.gz
dh_illumos_gate: fix GCC root
Diffstat (limited to 'dh_illumos_gate')
-rwxr-xr-xdh_illumos_gate9
1 files changed, 9 insertions, 0 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate
index 88b1190..1b08674 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -59,6 +59,12 @@ as is to L<tar(1)> via I<--exclude=PATTERN>.
=back
+=head1 NOTES
+
+To clean package (via C<./debian/rules clean>) you should just remove F<illumos-gate> directory:
+
+ rm -rf illumos-gate
+
=cut
init(options => { });
@@ -91,6 +97,9 @@ if (! -e $Makefile_master_orig) {
doit('sed', '-r', '-i', '
/INS\.(file|dir)/ s, -s,,;
/INS\.file/ s, -f, -t,;
+ /^__GNUC *=/ s,.*,__GNUC=,;
+ /^__GNUC4 *=/ s,.*,__GNUC4=,;
+ /.*__GNUC4.GCC_ROOT/ s,.*,$(__GNUC4)GCC_ROOT = /usr/bin,;
', $Makefile_master
);