Index: head/astro/cfitsio/Makefile =================================================================== --- head/astro/cfitsio/Makefile (revision 181820) +++ head/astro/cfitsio/Makefile (revision 181821) @@ -1,42 +1,48 @@ # New ports collection makefile for: cfitsio # Date created: Fri Apr 30 16:49:36 CEST 2004 # Whom: Markus Brueffer # # $FreeBSD$ # PORTNAME= cfitsio PORTVERSION= 3.006 CATEGORIES= astro MASTER_SITES= ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} MAINTAINER= ports@FreeBSD.org COMMENT= Library for reading and writing files in FITS data format WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes USE_LDCONFIG= yes +WANT_FORTRAN= yes #dummy +USE_GCC=4.2+ +LIB_DEPENDS+= f2c.2:${PORTSDIR}/lang/f2c ALL_TARGET= shared post-patch: + ${ECHO_CMD} ${FC} @${GREP} -lR "" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|||g' @${REINPLACE_CMD} -e 's|="\.so"|=".so.0"|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|%%FC%%|${FC}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|%%FC%%|${FC}|g' ${WRKSRC}/configure.in do-install: .for file in drvrsmem.h fitsio.h fitsio2.h longnam.h ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include .endfor .for f in libcfitsio.so.0 ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib .endfor @${LN} -sf libcfitsio.so.0 ${PREFIX}/lib/libcfitsio.so .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.doc ${DOCSDIR} .endif .include Property changes on: head/astro/cfitsio/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property Index: head/astro/cfitsio/files/patch-configure =================================================================== --- head/astro/cfitsio/files/patch-configure (nonexistent) +++ head/astro/cfitsio/files/patch-configure (revision 181821) @@ -0,0 +1,22 @@ +--- configure~ Tue Jan 9 10:31:25 2007 ++++ configure Tue Jan 9 10:31:46 2007 +@@ -857,7 +857,7 @@ + fi + + +-for ac_prog in f77 xlf cf77 gf77 g77 af77 ncf f2c ++for ac_prog in %%FC%% f77 xlf cf77 gf77 g77 af77 ncf f2c + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +--- configure.in~ Fri Jul 29 06:26:00 2005 ++++ configure.in Tue Jan 9 10:31:38 2007 +@@ -54,7 +54,7 @@ + fi + AC_PROG_CC + +-AC_CHECK_PROGS(FC, f77 xlf cf77 gf77 g77 af77 ncf f2c , nope) ++AC_CHECK_PROGS(FC, %%FC%%, f77 xlf cf77 gf77 g77 af77 ncf f2c , nope) + if test $FC = 'nope' ; then + AC_MSG_WARN(cfitsio: == No acceptable f77 found in \$PATH) + AC_MSG_WARN(cfitsio: == Cfitsio will be built without Fortran wrapper support) Property changes on: head/astro/cfitsio/files/patch-configure ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property