diff src/osmesa.mk @ 3787:282bc5054a7f

(incompletely) attempt to make osmesa actually build for Windows
author John W. Eaton <jwe@octave.org>
date Sat, 14 Feb 2015 19:58:11 -0500
parents e1e69acf0bb2
children f6d63f2a2de6
line wrap: on
line diff
--- a/src/osmesa.mk	Thu Feb 12 13:46:07 2015 -0500
+++ b/src/osmesa.mk	Sat Feb 14 19:58:11 2015 -0500
@@ -16,11 +16,13 @@
 
 define $(PKG)_BUILD
     mkdir '$(1)/.build'
-    cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
+    cd '$(1)' && autoreconf
+    cd '$(1)/.build' && autoreconf && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
         $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
         $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
         --prefix='$(HOST_PREFIX)' \
-        --disable-dri --disable-egl --without-gallium-drivers \
-        --enable-osmesa \
+        --enable-osmesa --disable-dri --without-gallium-drivers --disable-egl \
         && $(CONFIGURE_POST_HOOK)
+
+    $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
 endef