summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2023-11-09 20:02:45 -0500
committerRick Farina <zerochaos@gentoo.org>2023-11-09 20:04:28 -0500
commit1506cd688eed6f906a0ae392f3bf9cc14770eb1c (patch)
tree83bd6a40fbf67c3e4ab16120d685ec7e8cb828b6 /net-wireless
parentnet-wireless/urh: add 2.9.5 (diff)
downloadgentoo-1506cd688eed6f906a0ae392f3bf9cc14770eb1c.tar.gz
gentoo-1506cd688eed6f906a0ae392f3bf9cc14770eb1c.tar.bz2
gentoo-1506cd688eed6f906a0ae392f3bf9cc14770eb1c.zip
net-wireless/aircrack-ng: fix bug #914367
Signed-off-by: Rick Farina <zerochaos@gentoo.org> Closes: https://bugs.gentoo.org/914367 Thanks to ztrawhcse for finding a sane looking work-around to keep this as one ebuild.
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/aircrack-ng/aircrack-ng-1.7-r3.ebuild3
-rw-r--r--net-wireless/aircrack-ng/aircrack-ng-9999.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.7-r3.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.7-r3.ebuild
index a92c8b354233..b2c8188ff021 100644
--- a/net-wireless/aircrack-ng/aircrack-ng-1.7-r3.ebuild
+++ b/net-wireless/aircrack-ng/aircrack-ng-1.7-r3.ebuild
@@ -84,6 +84,9 @@ python_compile() {
distutils-r1_python_compile
fi
if use airdrop-ng; then
+ if [ -d "${BUILD_DIR}"/build ]; then
+ rm -r "${BUILD_DIR}"/build || die
+ fi
cd "${S}/scripts/airdrop-ng" || die
distutils-r1_python_compile
fi
diff --git a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild
index e7db3e9017a0..3571d86d4cda 100644
--- a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild
+++ b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild
@@ -84,6 +84,9 @@ python_compile() {
distutils-r1_python_compile
fi
if use airdrop-ng; then
+ if [ -d "${BUILD_DIR}"/build ]; then
+ rm -r "${BUILD_DIR}"/build || die
+ fi
cd "${S}/scripts/airdrop-ng" || die
distutils-r1_python_compile
fi