Mercurial > mxe-octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
3652:7af3dec1ab50 | 3653:3085b1b955dd |
---|---|
6 $(PKG)_VERSION := 9.07 | 6 $(PKG)_VERSION := 9.07 |
7 $(PKG)_CHECKSUM := 550a85e73b7213d8ae41ea06523661638b4bc1a2 | 7 $(PKG)_CHECKSUM := 550a85e73b7213d8ae41ea06523661638b4bc1a2 |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 | 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 |
10 $(PKG)_URL := http://downloads.ghostscript.com/public/$($(PKG)_FILE) | 10 $(PKG)_URL := http://downloads.ghostscript.com/public/$($(PKG)_FILE) |
11 $(PKG)_DEPS := build-gcc jpeg libpng jpeg tiff zlib | 11 $(PKG)_DEPS := jpeg libpng jpeg tiff zlib |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 echo 'Warning: Updates are temporarily disabled for package ghostscript.' >&2; | 14 echo 'Warning: Updates are temporarily disabled for package ghostscript.' >&2; |
15 echo $($(PKG)_VERSION) | 15 echo $($(PKG)_VERSION) |
16 endef | 16 endef |
17 | 17 |
18 ## Currently only works for native builds and i686 mingw cross builds. | 18 ## Currently only works for native builds and i686 mingw cross builds. |
19 | 19 |
20 ifeq ($(MXE_NATIVE_BUILD),yes) | 20 ifeq ($(MXE_NATIVE_BUILD),yes) |
21 define $(PKG)_BUILD | 21 define $(PKG)_BUILD |
22 cd '$(1)' && autoreconf | |
22 cd '$(1)' && '$(1)/configure' \ | 23 cd '$(1)' && '$(1)/configure' \ |
23 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | 24 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 25 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
25 --prefix='$(HOST_PREFIX)' \ | 26 --prefix='$(HOST_PREFIX)' \ |
26 --with-system-libtiff \ | 27 --with-system-libtiff \ |