summaryrefslogtreecommitdiffstats
path: root/education/tuxmath/PRE_BUILD
diff options
context:
space:
mode:
authorEric Sandall2009-04-12 20:46:10 -0700
committerEric Sandall2009-04-12 20:46:10 -0700
commit182ceac6ffe5c8b229395fb3b6732ee04bd0d374 (patch)
tree5840f3a384efcee67cba57049837a678e644eaaa /education/tuxmath/PRE_BUILD
parent9627564d28925517b991dceb6e94dd3f877a8921 (diff)
tuxmath: Switch from build api 1 to 2
Diffstat (limited to 'education/tuxmath/PRE_BUILD')
-rwxr-xr-xeducation/tuxmath/PRE_BUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/education/tuxmath/PRE_BUILD b/education/tuxmath/PRE_BUILD
new file mode 100755
index 0000000000..30408e30f7
--- /dev/null
+++ b/education/tuxmath/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+sedit "s:/local::" $SOURCE_DIRECTORY/Makefile &&
+sedit "s/-O2/$CFLAGS/" $SOURCE_DIRECTORY/Makefile &&
+sedit "s:/usr/bin/:/usr/games/:" $SOURCE_DIRECTORY/Makefile