summaryrefslogtreecommitdiffstats
path: root/education/tuxpaint/BUILD
blob: b38fc51d7c3d3601e6b07540369736bec26e2b39 (plain) (blame)
1
2
3
4
5
6
7
if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" || "${SMGL_COMPAT_ARCHS[1]}" == "em64t" ]];  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