diff options
Diffstat (limited to 'disk/pmount/BUILD')
-rwxr-xr-x | disk/pmount/BUILD | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/disk/pmount/BUILD b/disk/pmount/BUILD index 482831a85b..7e7f955590 100755 --- a/disk/pmount/BUILD +++ b/disk/pmount/BUILD @@ -1,4 +1,5 @@ -if [[ $CRYPT == "y" ]]; then - sed -i -e "s|/sbin/cryptsetup|`which cryptsetup`|" src/policy.h -fi && +if is_depends_enabled $SPELL cryptsetup-luks; then + OPTS="--with-cryptsetup-prog=`which cryptsetup` $OPTS" +fi && + default_build |