Date: Sat, 19 Nov 2016 17:02:26 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426392 - head/astro/cfitsio Message-ID: <201611191702.uAJH2QEn063747@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Nov 19 17:02:26 2016 New Revision: 426392 URL: https://svnweb.freebsd.org/changeset/ports/426392 Log: - Fix build on Sparc64 Modified: head/astro/cfitsio/Makefile Modified: head/astro/cfitsio/Makefile ============================================================================== --- head/astro/cfitsio/Makefile Sat Nov 19 17:02:21 2016 (r426391) +++ head/astro/cfitsio/Makefile Sat Nov 19 17:02:26 2016 (r426392) @@ -35,7 +35,8 @@ PORTDOCS= * SHLIB_MAJOR_VER=5 SHLIB_MINOR_VER=${PORTVERSION:S|0$||} -BROKEN_sparc64= Fails to compile: malloc.h has been replaced by stdlib.h +post-patch: + @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/*.[chl] ${WRKSRC}/zlib/*.h do-install: cd ${WRKSRC}/ && ${INSTALL_DATA} drvrsmem.h fitsio.h fitsio2.h longnam.h ${STAGEDIR}${PREFIX}/include/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611191702.uAJH2QEn063747>