summaryrefslogtreecommitdiffstats
path: root/src/postgresql.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-02-16 03:12:53 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-02-16 03:12:53 (GMT)
commite1ab4466ff074344814fdb36c8c9d7acf08b2000 (patch)
tree1e2ad25cbda6d1c48f9e0586a93e2b92c0f27246 /src/postgresql.mk
parent18316ec7d018eb15683c7a8b316351d83b3a1495 (diff)
downloadmxe-e1ab4466ff074344814fdb36c8c9d7acf08b2000.zip
mxe-e1ab4466ff074344814fdb36c8c9d7acf08b2000.tar.gz
mxe-e1ab4466ff074344814fdb36c8c9d7acf08b2000.tar.bz2
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Diffstat (limited to 'src/postgresql.mk')
-rw-r--r--src/postgresql.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/postgresql.mk b/src/postgresql.mk
index 908aabd..3bfeb24 100644
--- a/src/postgresql.mk
+++ b/src/postgresql.mk
@@ -23,12 +23,12 @@ endef
define $(PKG)_BUILD
# The static OpenSSL libraries are in unix (not win32) naming style.
- $(SED) 's,SSLEAY32,SSL,' -i '$(1)'/configure
- $(SED) 's,ssleay32,ssl,' -i '$(1)'/configure
- $(SED) 's,EAY32,CRYPTO,' -i '$(1)'/configure
- $(SED) 's,eay32,crypto,' -i '$(1)'/configure
- $(SED) 's,ssleay32,ssl,' -i '$(1)'/src/interfaces/libpq/Makefile
- $(SED) 's,eay32,crypto,' -i '$(1)'/src/interfaces/libpq/Makefile
+ $(SED) -i 's,SSLEAY32,SSL,' '$(1)'/configure
+ $(SED) -i 's,ssleay32,ssl,' '$(1)'/configure
+ $(SED) -i 's,EAY32,CRYPTO,' '$(1)'/configure
+ $(SED) -i 's,eay32,crypto,' '$(1)'/configure
+ $(SED) -i 's,ssleay32,ssl,' '$(1)'/src/interfaces/libpq/Makefile
+ $(SED) -i 's,eay32,crypto,' '$(1)'/src/interfaces/libpq/Makefile
# Since we build only client libary, use bogus tzdata to satisfy configure.
cd '$(1)' && ./configure \
--prefix='$(PREFIX)/$(TARGET)' \
@@ -59,7 +59,7 @@ define $(PKG)_BUILD
# Build a native pg_config.
cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,postgresql)
mv '$(1)/$(postgresql_SUBDIR)' '$(1).native'
- $(SED) 's,-DVAL_,-D_DISABLED_VAL_,g' -i '$(1).native'/src/bin/pg_config/Makefile
+ $(SED) -i 's,-DVAL_,-D_DISABLED_VAL_,g' '$(1).native'/src/bin/pg_config/Makefile
cd '$(1).native' && ./configure \
--prefix='$(PREFIX)/$(TARGET)' \
--disable-shared \