summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-07-18 21:42:59 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-07-18 21:42:59 +0400
commit3769023faf4758f944e710480c43cda220821690 (patch)
tree24d05b142babd639ba55bd88baf3d4f927c968d8 /dh
parent01f945132c988fd1af8ecdf6ed4296b34aacf52e (diff)
downloaddebhelper-3769023faf4758f944e710480c43cda220821690.tar.gz
Use dh_smf in dh sequencedyson/9.20130509+dyson1
Diffstat (limited to 'dh')
-rwxr-xr-xdh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dh b/dh
index d5e81774..c51f073d 100755
--- a/dh
+++ b/dh
@@ -521,6 +521,11 @@ sub list_addons {
exit 0;
}
+if (dpkg_architecture_value('DEB_HOST_ARCH_OS') eq 'illumos'
+ && -x '/usr/bin/dh_smf') {
+ push @{$dh{WITH}}, 'smf';
+}
+
# Load addons, which can modify sequences.
foreach my $addon (@{$dh{WITH}}) {
my $mod="Debian::Debhelper::Sequence::$addon";