summaryrefslogtreecommitdiffstats
path: root/crypto/pinentry/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/pinentry/BUILD')
-rwxr-xr-xcrypto/pinentry/BUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/pinentry/BUILD b/crypto/pinentry/BUILD
index cde8c41730..c8bdb942af 100755
--- a/crypto/pinentry/BUILD
+++ b/crypto/pinentry/BUILD
@@ -1,2 +1,10 @@
+# fix bad moc files
+if is_depends_enabled $SPELL qt4;then
+ MOC=/usr/bin/qt4/moc &&
+ cd qt4 &&
+ $MOC pinentrydialog.h > pinentrydialog.moc &&
+ $MOC qsecurelineedit.h > qsecurelineedit.moc &&
+ cd ..
+fi &&
OPTS="$OPTS $PINENTRY_CURSES" &&
default_build