diff src/fltk.mk @ 759:bf4bcb3370fa

changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 16 Feb 2010 04:12:53 +0100
parents 29f1ba4559ae
children 795dbc19e055
line wrap: on
line diff
--- a/src/fltk.mk	Tue Feb 16 04:07:12 2010 +0100
+++ b/src/fltk.mk	Tue Feb 16 04:12:53 2010 +0100
@@ -19,15 +19,15 @@
 endef
 
 define $(PKG)_BUILD
-    $(SED) 's,\$$uname,MINGW,g' -i '$(1)/configure'
+    $(SED) -i 's,\$$uname,MINGW,g' '$(1)/configure'
     # wine confuses the cross-compiling detection, so set it explicitly
-    $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure'
+    $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
         --disable-shared \
         --prefix='$(PREFIX)/$(TARGET)' \
         --enable-threads \
         LIBS='-lws2_32'
-    $(SED) 's,-fno-exceptions,,' -i '$(1)/makeinclude'
+    $(SED) -i 's,-fno-exceptions,,' '$(1)/makeinclude'
     $(MAKE) -C '$(1)' -j '$(JOBS)' install DIRS=src LIBCOMMAND='$(TARGET)-ar cr'
 endef