summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-12-30 17:18:07 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-12-30 17:18:07 +0000
commitd3c716f53e1e809cbb4a8f21f40ff808b7c42062 (patch)
tree95c1d667500943ad6284276978feddd699bb2199 /astro
parentAdd p5-Term-ProgressBar 1.0, perl extension to display a progress bar. (diff)
- update to 3.5.1
- respect CC/CFLAGS PR: 33332 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=52412
Diffstat (limited to 'astro')
-rw-r--r--astro/xephem/Makefile8
-rw-r--r--astro/xephem/distinfo2
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