|
|
|
@ -20,23 +20,18 @@ diff -u cfitsio/configure cfitsio-new/configure
|
|
|
|
|
lhea_shlib_cflags='-fPIC'
|
|
|
|
|
fi
|
|
|
|
|
if test "x$lhea_shlib_cflags" != x; then
|
|
|
|
|
diff -u cfitsio/Makefile.in cfitsio-new/Makefile.in
|
|
|
|
|
--- cfitsio/Makefile.in 2005-04-26 11:48:05.000000000 -0400
|
|
|
|
|
+++ cfitsio-new/Makefile.in 2005-11-13 13:52:27.000000000 -0500
|
|
|
|
|
@@ -19,8 +19,8 @@
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
CFITSIO_PREFIX = @CFITSIO_PREFIX@
|
|
|
|
|
-CFITSIO_LIB = ${CFITSIO_PREFIX}/lib
|
|
|
|
|
-CFITSIO_INCLUDE = ${CFITSIO_PREFIX}/include
|
|
|
|
|
+CFITSIO_LIB = ${CFITSIO_PREFIX}/${LIBDIR}
|
|
|
|
|
+CFITSIO_INCLUDE = ${CFITSIO_PREFIX}/${INCLUDEDIR}
|
|
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
|
@@ -146,4 +146,4 @@
|
|
|
|
|
objs: ${CORE_OBJECTS}
|
|
|
|
|
|
|
|
|
|
${CFITSIO_PREFIX} ${CFITSIO_LIB} ${CFITSIO_INCLUDE}:
|
|
|
|
|
- @if [ ! -d $@ ]; then mkdir $@; fi
|
|
|
|
|
+ @if [ ! -d $@ ]; then mkdir -p $@; fi
|
|
|
|
|
diff -u Makefile.in.orig Makefile.in
|
|
|
|
|
--- Makefile.in.orig 2006-10-12 17:14:41.000000000 -0400
|
|
|
|
|
+++ Makefile.in 2006-12-05 16:29:51.000000000 -0500
|
|
|
|
|
@@ -21,8 +21,8 @@
|
|
|
|
|
prefix = @prefix@
|
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
CFITSIO_PREFIX = $(prefix)
|
|
|
|
|
-CFITSIO_LIB = $(exec_prefix)/lib
|
|
|
|
|
-CFITSIO_INCLUDE = $(prefix)/include
|
|
|
|
|
+CFITSIO_LIB = $(exec_prefix)/$(LIBDIR)
|
|
|
|
|
+CFITSIO_INCLUDE = $(prefix)/$(INCLUDEDIR)
|
|
|
|
|
INSTALL_DIRS = @INSTALL_ROOT@ ${CFITSIO_LIB} ${CFITSIO_LIB}/pkgconfig ${CFITSIO_INCLUDE}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|