FreeBSD Bugzilla – Attachment 46032 Details for
Bug 70781
Update port: astro/cfitsio to 2.500
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.81 KB, created by
tkato432
on 2004-08-21 18:10:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2004-08-21 18:10:07 UTC
Size:
1.81 KB
patch
obsolete
>diff -urN /usr/ports/astro/cfitsio/Makefile astro/cfitsio/Makefile >--- /usr/ports/astro/cfitsio/Makefile Sat May 1 00:33:40 2004 >+++ astro/cfitsio/Makefile Sun Aug 22 01:37:46 2004 >@@ -6,7 +6,7 @@ > # > > PORTNAME= cfitsio >-PORTVERSION= 2.490 >+PORTVERSION= 2.500 > CATEGORIES= astro > MASTER_SITES= ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/ > DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} >@@ -15,17 +15,29 @@ > COMMENT= Library for reading and writing files in FITS data format > > WRKSRC= ${WRKDIR}/${PORTNAME} >+ >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > INSTALLS_SHLIB= yes > >-ALL_TARGET= shared >+ALL_TARGET= stand_alone shared >+ >+post-patch: >+ @${GREP} -lR "<malloc.\h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ >+ 's|<malloc\.h>|<stdlib.h>|g' >+ @${REINPLACE_CMD} -e 's|="\.so"|=".so.0"|g' ${WRKSRC}/configure > >-post-install: >- ${MV} ${PREFIX}/lib/libcfitsio.so ${PREFIX}/lib/libcfitsio.so.0 >- ${LN} -s ${PREFIX}/lib/libcfitsio.so.0 ${PREFIX}/lib/libcfitsio.so >-.ifndef(NOPORTDOCS) >- ${MKDIR} ${DOCSDIR} >- ${CP} -R ${WRKSRC}/*.doc ${DOCSDIR} >+do-install: >+.for file in drvrsmem.h fitsio.h fitsio2.h longnam.h >+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include >+.endfor >+.for file in libcfitsio.a libcfitsio.so.0 >+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib >+.endfor >+ @${LN} -sf libcfitsio.so.0 ${PREFIX}/lib/libcfitsio.so >+.if !defined(NOPORTDOCS) >+ @${MKDIR} ${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/*.doc ${DOCSDIR} > .endif > > .include <bsd.port.mk> >diff -urN /usr/ports/astro/cfitsio/distinfo astro/cfitsio/distinfo >--- /usr/ports/astro/cfitsio/distinfo Sat May 1 00:33:40 2004 >+++ astro/cfitsio/distinfo Sun Aug 22 01:14:36 2004 >@@ -1,2 +1,2 @@ >-MD5 (cfitsio2490.tar.gz) = 271b07dcfe3e928e5138d64672eb77d9 >-SIZE (cfitsio2490.tar.gz) = 2032914 >+MD5 (cfitsio2500.tar.gz) = 5447664f2948de94a180f447c2b15a5f >+SIZE (cfitsio2500.tar.gz) = 2050459
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 70781
: 46032