Commits

benreilly  committed 0b982a0

Rebuild mahjongg3d

Signed-off-by: benreilly <benreilly@vector.Linux.net>

  • Participants
  • Parent commits 6129a93
  • Branches veclinux-7.0

Comments (0)

Files changed (1)

File var/vabs/mahjongg3d/src/mahjongg3d.SlackBuild

 done
 #-----------------------------------------------------
 
+
 # mahjongg3d need Qt3
 QTDIR=/opt/kde3/lib${LIBDIRSUFFIX}/qt3 ; export QTDIR
 
 export CUSTOM_PREFIX=/usr
 export CUSTOM_GAMEDATA_PREFIX=/usr/share
 
-./configure || exit 1
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+# mahjongg3d is a 32bit application only :(
+if [[ "$ARCH" = i?86 ]]; then
+	./configure || exit 1
+	make || exit 1
+	make install DESTDIR=$PKG || exit 1
+fi
 
 #######################################################################
 #Miscellenious tweaks and things outside a normal ./configure go here #