parent
4221d2c804
commit
c2d0e059d1
@ -1,18 +1,40 @@
|
||||
--- cfitsio/cfitsio.pc.in.orig 2012-04-11 14:48:16.000000000 -0600
|
||||
+++ cfitsio/cfitsio.pc.in 2012-04-13 10:10:54.545363858 -0600
|
||||
@@ -1,11 +1,11 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
-includedir=@includedir@
|
||||
+includedir=@includedir@/cfitsio
|
||||
|
||||
Name: cfitsio
|
||||
Description: FITS File Subroutine Library
|
||||
Version: 3.30
|
||||
-Libs: -L${libdir} -lcfitsio @LIBS@
|
||||
-Libs.private: -lm
|
||||
-Cflags: -I${includedir}
|
||||
+Libs: -L${libdir} -lcfitsio
|
||||
+Libs.private: @LIBS@ -lm
|
||||
+Cflags: -D_REENTRANT -I${includedir}
|
||||
diff -ur cfitsio/Makefile.in cfitsio-zlib/Makefile.in
|
||||
--- cfitsio/Makefile.in 2012-04-24 14:19:09.307351928 +0200
|
||||
+++ cfitsio-zlib/Makefile.in 2012-04-24 14:19:40.906582888 +0200
|
||||
@@ -52,9 +52,7 @@
|
||||
putcolj.c putcolk.c putcoluk.c putcoll.c putcols.c putcolsb.c \
|
||||
putcolu.c putcolui.c putcoluj.c putkey.c region.c scalnull.c \
|
||||
swapproc.c wcssub.c wcsutil.c imcompress.c quantize.c ricecomp.c \
|
||||
- pliocomp.c fits_hcompress.c fits_hdecompress.c zuncompress.c zcompress.c \
|
||||
- adler32.c crc32.c inffast.c inftrees.c trees.c zutil.c \
|
||||
- deflate.c infback.c inflate.c uncompr.c \
|
||||
+ pliocomp.c fits_hcompress.c fits_hdecompress.c zuncompress.c zcompress.c
|
||||
|
||||
SOURCES = ${CORE_SOURCES} @F77_WRAPPERS@
|
||||
|
||||
@@ -87,7 +85,7 @@
|
||||
shared: libcfitsio${SHLIB_SUFFIX}
|
||||
|
||||
libcfitsio${SHLIB_SUFFIX}: ${OBJECTS}
|
||||
- ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} -lpthread -lm
|
||||
+ ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} -lpthread -lm -lz
|
||||
|
||||
install: libcfitsio.a $(INSTALL_DIRS)
|
||||
@if [ -f libcfitsio.a ]; then \
|
||||
@@ -109,13 +107,13 @@
|
||||
${CC} $(CFLAGS) $(DEFS) -o smem smem.o -L. -lcfitsio -lm
|
||||
|
||||
testprog: testprog.o libcfitsio.a ${OBJECTS}
|
||||
- ${CC} $(CFLAGS) $(DEFS) -o testprog testprog.o -L. -lcfitsio -lm ${LIBS}
|
||||
+ ${CC} $(CFLAGS) $(DEFS) -o testprog testprog.o -L. -lcfitsio -lm ${LIBS} -lz
|
||||
|
||||
fpack: fpack.o fpackutil.o libcfitsio.a ${OBJECTS}
|
||||
- ${CC} $(CFLAGS) $(DEFS) -o fpack fpack.o fpackutil.o libcfitsio.a -lm ${LIBS}
|
||||
+ ${CC} $(CFLAGS) $(DEFS) -o fpack fpack.o fpackutil.o -L. -lcfitsio -lm ${LIBS} -lz
|
||||
|
||||
funpack: funpack.o fpackutil.o libcfitsio.a ${OBJECTS}
|
||||
- ${CC} $(CFLAGS) $(DEFS) -o funpack funpack.o fpackutil.o libcfitsio.a -lm ${LIBS}
|
||||
+ ${CC} $(CFLAGS) $(DEFS) -o funpack funpack.o fpackutil.o -L. -lcfitsio -lm ${LIBS} -lz
|
||||
|
||||
fitscopy: fitscopy.o libcfitsio.a ${OBJECTS}
|
||||
${CC} $(CFLAGS) $(DEFS) -o fitscopy fitscopy.o -L. -lcfitsio -lm ${LIBS}
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -up cfitsio/Makefile.in.orig cfitsio/Makefile.in
|
||||
--- cfitsio/Makefile.in.orig 2012-04-11 13:55:24.000000000 -0600
|
||||
+++ cfitsio/Makefile.in 2012-04-13 10:07:54.549874768 -0600
|
||||
@@ -87,7 +87,7 @@ libcfitsio.a: ${OBJECTS}
|
||||
shared: libcfitsio${SHLIB_SUFFIX}
|
||||
|
||||
libcfitsio${SHLIB_SUFFIX}: ${OBJECTS}
|
||||
- ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS}
|
||||
+ ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} -pthread -lm
|
||||
|
||||
install: libcfitsio.a $(INSTALL_DIRS)
|
||||
@if [ -f libcfitsio.a ]; then \
|
Loading…
Reference in new issue