[Lunar-commits] <moonbase-other> pinentry: A tweak to the build regarding qt4.

Dennis Veatch dennisveatch at bellsouth.net
Sat Dec 27 14:01:27 CET 2014


commit fe882817f81bcb0ff3d536fcf377ed9ead91b01c
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Sat, 27 Dec 2014 08:01:06 -0500
URL: https://github.com/lunar-linux/moonbase-other/commit/fe882817f81bcb0ff3d536fcf377ed9ead91b01c

pinentry: A tweak to the build regarding qt4.
---
  x11-utils/pinentry/BUILD | +10/-1    
  1 file changed, 10 insertions(+), 1 deletion(-)

--- a/x11-utils/pinentry/BUILD
+++ b/x11-utils/pinentry/BUILD
@@ -2,9 +2,18 @@
   OPTS+=" --enable-fallback-curses --enable-pinentry-curses" &&
 
   if in_depends $MODULE qt4 ; then
-    . /etc/profile.d/qt4.rc
+    . /etc/profile.d/qt4.rc &&
+
+    local f &&
+     for f in qt4/*.moc; do
+       /usr/bin/moc ${f/.moc/.h}
+     done
   fi &&
 
+  for file in qt4/*.moc; do
+      moc ${file/.moc/.h} > ${file}
+  done &&
+
   sedit 's/gulong/gsize/g' gtk+-2/gtksecentry.c  &&
 
   default_build




More information about the Lunar-commits mailing list