svn commit: r426392 - head/astro/cfitsio

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Nov 19 17:02:27 UTC 2016


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/


More information about the svn-ports-all mailing list