[Lunar-commits] <moonbase-other> astrometry: Adding a PRE_BUILD and another sedit to correct for a header path.

Dennis Veatch dennisveatch at bellsouth.net
Sat Sep 13 04:25:32 CEST 2014


commit fd32b9f71659b53d7f347979b4cca294e4f32dd3
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Fri, 12 Sep 2014 22:25:04 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/fd32b9f71659b53d7f347979b4cca294e4f32dd3

astrometry: Adding a PRE_BUILD and another sedit to correct for a header path.
---
  science/astrometry/BUILD     | +0/-8     
  science/astrometry/PRE_BUILD | +9/-0     
  2 files changed, 9 insertions(+), 8 deletions(-)

--- a/science/astrometry/BUILD
+++ b/science/astrometry/BUILD
@@ -1,12 +1,4 @@
 
-  rm -rf astrometry &&
-  for file in $(find . -name '*'.c |cut -c 3-50) ; do
-   sedit "s:<netpbm::g" $file
-  done &&
-
-  sedit "s:/ups:/usr/share/astrometry/ups:g" Makefile &&
-  sedit "s:/examples:/usr/share/astrometry/examples:" Makefile &&
-
   make &&
   make py &&
   make extra &&
--- /dev/null
+++ b/science/astrometry/PRE_BUILD
@@ -0,0 +1,9 @@
+  default_pre_build &&
+  rm -rf astrometry &&
+  for file in $(find . -name '*'.c |cut -c 3-50) ; do
+   sedit "s:<netpbm::g" $file
+  done &&
+
+  sedit "s:/ups:/usr/share/astrometry/ups:g" Makefile &&
+  sedit "s:/examples:/usr/share/astrometry/examples:" Makefile &&
+  sedit "s:cairo.h:cairo/cairo.h:" util/cairoutils.c




More information about the Lunar-commits mailing list