diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-11-26 23:45:08 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-11-26 23:45:08 +0000 |
commit | 8f402d572e55cf65d0460c8bffaaf212ec85bfce (patch) | |
tree | 8c20e6d8c9ef06af87db8f03bed1cfdc401ca0a9 | |
parent | remove some obsolete files (diff) |
Fix build on -current and PERL->REINPLACE_CMD
Submitted by: bento
Notes
Notes:
svn path=/head/; revision=71133
-rw-r--r-- | astro/wmsolar/Makefile | 3 | ||||
-rw-r--r-- | astro/wmsolar/files/patch-Vsop.h | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/astro/wmsolar/Makefile b/astro/wmsolar/Makefile index 2ca16e642381..31179392056b 100644 --- a/astro/wmsolar/Makefile +++ b/astro/wmsolar/Makefile @@ -16,9 +16,10 @@ WRKSRC= ${WRKDIR}/wmSolar USE_X_PREFIX= yes USE_XPM= yes USE_GMAKE= yes +USE_REINPLACE= yes pre-patch: - @${PERL} -pi.orig -e 's|values.h|float.h|; s|MAXDOUBLE|DBL_MAX|g' \ + @${REINPLACE_CMD} -e 's|values.h|float.h|; s|MAXDOUBLE|DBL_MAX|g' \ ${WRKSRC}/wmSolar.c do-install: diff --git a/astro/wmsolar/files/patch-Vsop.h b/astro/wmsolar/files/patch-Vsop.h new file mode 100644 index 000000000000..517afb91984b --- /dev/null +++ b/astro/wmsolar/files/patch-Vsop.h @@ -0,0 +1,10 @@ +--- Vsop.h.orig Tue Nov 26 15:41:59 2002 ++++ Vsop.h Tue Nov 26 15:42:13 2002 +@@ -12,6 +12,7 @@ + #define VSOP__H
+
+ #include "PlanetData.h" // for enum Planet
++#include <math.h> +
+ // * * * * * simple support structs * * * * *
+
|