diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-07-01 14:33:32 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-07-01 14:33:32 +0000 |
commit | a0e3938f0fb608de84c89f56203c9ab1523cdfee (patch) | |
tree | 52ddc675f2fa23e2cdb52b0067583ba62f260698 | |
parent | 99131d5aea78b7c1afa0d8107f962aac8c7adf02 (diff) | |
download | dh-illumos-a0e3938f0fb608de84c89f56203c9ab1523cdfee.tar.gz |
dh_illumos_gate: fix GCC root
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | dh_illumos_gate | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/debian/control b/debian/control index c16f57c..16f8901 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,7 @@ Package: dh-illumos Architecture: all Multi-Arch: foreign Depends: ${perl:Depends}, ${misc:Depends}, debhelper (>=8), - ksh93, sunmake, illumos-source + ksh93, sunmake, illumos-source, illumos-binutils Enhances: debhelper Description: debhelper addons to work with illumos sources This package provides debhelper addons configuring and building 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 ); |