diff options
-rw-r--r-- | astro/xephem/Makefile | 8 | ||||
-rw-r--r-- | astro/xephem/distinfo | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile index 84d094a85515..3b18537755c0 100644 --- a/astro/xephem/Makefile +++ b/astro/xephem/Makefile @@ -6,8 +6,7 @@ # PORTNAME= xephem -PORTVERSION= 3.5 -#PORTREVISION= 1 +PORTVERSION= 3.5.1 CATEGORIES= astro MASTER_SITES= http://www.clearskyinstitute.com/xephem/ \ ftp://iraf.noao.edu/contrib/xephem/ \ @@ -24,6 +23,11 @@ MAN1= xephem.1 LIBASTROSRC= ${WRKDIR}/${DISTNAME}/libastro LIBIPSRC= ${WRKDIR}/${DISTNAME}/libip +post-patch: + @${PERL} -pi -e 's|CC =|CC?=|g ; \ + s|CFLAGS=|CFLAGS+=|g ; \ + s|-O2 ||g' ${LIBASTROSRC}/Makefile ${LIBIPSRC}/Makefile + pre-build: @cd ${LIBASTROSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} @cd ${LIBIPSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} diff --git a/astro/xephem/distinfo b/astro/xephem/distinfo index 6b00f07542e0..d5aa4073c153 100644 --- a/astro/xephem/distinfo +++ b/astro/xephem/distinfo @@ -1 +1 @@ -MD5 (xephem-3.5.tar.gz) = 485ee6c412d7c2b8919843502c3b0704 +MD5 (xephem-3.5.1.tar.gz) = e9f2f2f1c6ae313224f1a8640887a7f5 |