summaryrefslogtreecommitdiffstats
path: root/education/tuxpaint/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'education/tuxpaint/BUILD')
-rwxr-xr-xeducation/tuxpaint/BUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/education/tuxpaint/BUILD b/education/tuxpaint/BUILD
new file mode 100755
index 0000000000..452f9e43d9
--- /dev/null
+++ b/education/tuxpaint/BUILD
@@ -0,0 +1,7 @@
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]; then
+ sedit "s:CFLAGS=-g:& $CFLAGS:" magic/Makefile
+fi &&
+
+sedit "s/\/usr\/local/\/usr/g" Makefile &&
+sedit "s/OPTFLAGS=-O2/CFLAGS=$CFLAGS/g" Makefile &&
+make