aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-11-19 17:02:26 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-11-19 17:02:26 +0000
commit6b9a68091dad48d6ad2031eff670705aafd33070 (patch)
tree803d096222288cbc783c31aa83cfa8481649bd91 /astro
parent0f7f572e051bdf6d7f5eaa42309016ae7eb881b0 (diff)
downloadports-6b9a68091dad48d6ad2031eff670705aafd33070.tar.gz
ports-6b9a68091dad48d6ad2031eff670705aafd33070.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/cfitsio/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/astro/cfitsio/Makefile b/astro/cfitsio/Makefile
index 9075be7f6270..04c7c88e9554 100644
--- a/astro/cfitsio/Makefile
+++ b/astro/cfitsio/Makefile
@@ -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/