Ignore:
Timestamp:
Jun 3, 2014, 8:56:19 AM (6 years ago)
Author:
ryandesign@…
Message:

fatdisk: simplify patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/fatdisk/files/patch-RUNME.diff

    r120607 r120608  
    55 cat Makefile.base | sed '/DO NOT DELETE/,$d' | sed "s/^TARGET_FATDISK=.*/TARGET_FATDISK=fatdisk.$ARCH/g" > Makefile.tmp
    66 mv Makefile.tmp Makefile
    7 +mkdir -p .o/
     7+mkdir .o
    88 makedepend *.c -p .o/ 2>/dev/null
    99 if [ $? -ne 0 ]
    1010 then
    11 @@ -112,6 +113,8 @@
    12      log_warn "  For MingW  do: not supported AFAIK"
    13  fi
    14  
    15 +
    16 +
    17  echo "COMPILER_FLAGS=-Werror -g -O0 $SDL_FLAGS # AUTOGEN" >> .Makefile
    18  echo "COMPILER_FLAGS=-g -O2 $SDL_FLAGS # AUTOGEN" > .Makefile
    19  echo "    " >> .Makefile
    2011@@ -119,6 +122,17 @@
    2112 echo "GCC_COMPILER_WARNINGS=-Wall -fmessage-length=0 -Wno-trigraphs -Wmissing-prototypes -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value # AUTOGEN" >> .Makefile
Note: See TracChangeset for help on using the changeset viewer.