comparison src/postgresql.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 6f9e59f9765c
children 53f3b214b02a
comparison
equal deleted inserted replaced
758:1f5b2dfe8966 759:bf4bcb3370fa
21 head -1 21 head -1
22 endef 22 endef
23 23
24 define $(PKG)_BUILD 24 define $(PKG)_BUILD
25 # The static OpenSSL libraries are in unix (not win32) naming style. 25 # The static OpenSSL libraries are in unix (not win32) naming style.
26 $(SED) 's,SSLEAY32,SSL,' -i '$(1)'/configure 26 $(SED) -i 's,SSLEAY32,SSL,' '$(1)'/configure
27 $(SED) 's,ssleay32,ssl,' -i '$(1)'/configure 27 $(SED) -i 's,ssleay32,ssl,' '$(1)'/configure
28 $(SED) 's,EAY32,CRYPTO,' -i '$(1)'/configure 28 $(SED) -i 's,EAY32,CRYPTO,' '$(1)'/configure
29 $(SED) 's,eay32,crypto,' -i '$(1)'/configure 29 $(SED) -i 's,eay32,crypto,' '$(1)'/configure
30 $(SED) 's,ssleay32,ssl,' -i '$(1)'/src/interfaces/libpq/Makefile 30 $(SED) -i 's,ssleay32,ssl,' '$(1)'/src/interfaces/libpq/Makefile
31 $(SED) 's,eay32,crypto,' -i '$(1)'/src/interfaces/libpq/Makefile 31 $(SED) -i 's,eay32,crypto,' '$(1)'/src/interfaces/libpq/Makefile
32 # Since we build only client libary, use bogus tzdata to satisfy configure. 32 # Since we build only client libary, use bogus tzdata to satisfy configure.
33 cd '$(1)' && ./configure \ 33 cd '$(1)' && ./configure \
34 --prefix='$(PREFIX)/$(TARGET)' \ 34 --prefix='$(PREFIX)/$(TARGET)' \
35 --host='$(TARGET)' \ 35 --host='$(TARGET)' \
36 --disable-shared \ 36 --disable-shared \
57 $(INSTALL) -m664 '$(1)/src/include/pg_config.h' '$(PREFIX)/$(TARGET)/include/' 57 $(INSTALL) -m664 '$(1)/src/include/pg_config.h' '$(PREFIX)/$(TARGET)/include/'
58 $(INSTALL) -m664 '$(1)/src/include/postgres_ext.h' '$(PREFIX)/$(TARGET)/include/' 58 $(INSTALL) -m664 '$(1)/src/include/postgres_ext.h' '$(PREFIX)/$(TARGET)/include/'
59 # Build a native pg_config. 59 # Build a native pg_config.
60 cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,postgresql) 60 cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,postgresql)
61 mv '$(1)/$(postgresql_SUBDIR)' '$(1).native' 61 mv '$(1)/$(postgresql_SUBDIR)' '$(1).native'
62 $(SED) 's,-DVAL_,-D_DISABLED_VAL_,g' -i '$(1).native'/src/bin/pg_config/Makefile 62 $(SED) -i 's,-DVAL_,-D_DISABLED_VAL_,g' '$(1).native'/src/bin/pg_config/Makefile
63 cd '$(1).native' && ./configure \ 63 cd '$(1).native' && ./configure \
64 --prefix='$(PREFIX)/$(TARGET)' \ 64 --prefix='$(PREFIX)/$(TARGET)' \
65 --disable-shared \ 65 --disable-shared \
66 --disable-rpath \ 66 --disable-rpath \
67 --without-tcl \ 67 --without-tcl \