--- /usr/portage/sys-apps/pmount/pmount-0.9.13.ebuild 2006-08-17 01:10:14.000000000 -0700 +++ sys-apps/pmount/pmount-0.9.13.ebuild 2006-08-25 18:46:40.863476298 -0700 @@ -25,10 +25,14 @@ src_unpack() { unpack ${A} cd "${S}" - sed -e 's:/sbin/cryptsetup:/bin/cryptsetup:' -i src/policy.h append-ldflags $(bindnow-flags) } +src_compile() { + econf "--with-cryptsetup-prog=/bin/cryptsetup" || die "econf failed" + emake || die "emake failed" +} + src_install () { # this is where we mount stuff # moved to hal as of 0.5.7-r1