diff src/ghostscript.mk @ 3653:3085b1b955dd

make native ghostscript build work; include ghostscript patches in dist file
author John W. Eaton <jwe@octave.org>
date Tue, 08 Jul 2014 10:08:07 -0400
parents f2503a486cce
children 9b5ec90d870b 581873dfae44
line wrap: on
line diff
--- a/src/ghostscript.mk	Tue Jul 08 10:03:56 2014 -0400
+++ b/src/ghostscript.mk	Tue Jul 08 10:08:07 2014 -0400
@@ -8,7 +8,7 @@
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.bz2
 $(PKG)_URL      := http://downloads.ghostscript.com/public/$($(PKG)_FILE)
-$(PKG)_DEPS     := build-gcc jpeg libpng jpeg tiff zlib
+$(PKG)_DEPS     := jpeg libpng jpeg tiff zlib
 
 define $(PKG)_UPDATE
     echo 'Warning: Updates are temporarily disabled for package ghostscript.' >&2;
@@ -19,6 +19,7 @@
 
 ifeq ($(MXE_NATIVE_BUILD),yes)
   define $(PKG)_BUILD
+    cd '$(1)' && autoreconf
     cd '$(1)' && '$(1)/configure' \
         $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
         $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \