annotate src/of-fits-1-cross-fixes.patch @ 5531:eae508c12529

Add build rule for build-octave (bug #49503). * src/build-octave.mk: Add new build rule for build-octave which can be used for cross-building binary packages that depend on Octave as a build tool. * dist-files.mk: Add new file to list. * index.html: Add new package to list. * src/of-communications.mk, src/of-image.mk, src/of-mapping.mk, src/of-optiminterp.mk, src/of-sparsersb.mk, src/of-statistics.mk, src/of-windows.mk: Add optional dependency on build-octave. * configure.ac: Add new configure switch "--disable-system-octave" that is needed to build the build-octave package. * Makefile.in: Add variable "USE_SYSTEM_OCTAVE". Exclude build-octave from the default build tools and build it only if a package explicitly depends on it. Display warning about missing native Octave version only if necessary.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 08 Sep 2020 23:04:38 +0200
parents 414c464563c6
children 97ad836259c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4096
414c464563c6 of-fits: update to v1.0.7
John Donoghue
parents: 3854
diff changeset
1 diff -ur fits-1.0.7.orig/src/Makefile fits-1.0.7/src/Makefile
414c464563c6 of-fits: update to v1.0.7
John Donoghue
parents: 3854
diff changeset
2 --- fits-1.0.7.orig/src/Makefile 2016-02-25 13:08:47.394452025 -0500
414c464563c6 of-fits: update to v1.0.7
John Donoghue
parents: 3854
diff changeset
3 +++ fits-1.0.7/src/Makefile 2016-02-25 13:10:40.437730825 -0500
3854
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
4 @@ -1,4 +1,6 @@
4096
414c464563c6 of-fits: update to v1.0.7
John Donoghue
parents: 3854
diff changeset
5 -MKOCT_FLAGS = $(shell pkg-config --libs cfitsio --cflags cfitsio)
3854
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
6 +MKOCTFILE ?= mkoctfile
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
7 +PKG_CONFIG ?= pkg-config
4096
414c464563c6 of-fits: update to v1.0.7
John Donoghue
parents: 3854
diff changeset
8 +MKOCT_FLAGS = $(shell $(PKG_CONFIG) --libs cfitsio --cflags cfitsio)
3854
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
9
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
10 all: read_fits_image.oct save_fits_image.oct save_fits_image_multi_ext.oct
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
11
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
12 @@ -6,5 +8,5 @@
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
13 rm -f *.oct *.o
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
14
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
15 %.oct: %.cc
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
16 - mkoctfile --verbose -Wall $(MKOCT_FLAGS) $<
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
17 + $(MKOCTFILE) --verbose -Wall $(MKOCT_FLAGS) $<
85568f3159a4 binary-packages: update for cross tools
John Donoghue
parents:
diff changeset
18