Project

General

Profile

« Previous | Next » 

Revision 6196

root Makefile: PostgreSQL: $(macUsePostgresLib): Factored out PostgreSQL dir to $(macPostgresDir)

View differences:

Makefile
155 155
# run pg_version inline because it needs postgresql to be installed first
156 156
# ignore errors if conf files already edited
157 157

  
158
macPostgresDir := /Library/PostgreSQL/9.1
158 159
define macUsePostgresLib
159 160
sudo mv $(libDest) $(libDest).old||sudo rm -f $(libDest)
160
sudo ln -s /Library/PostgreSQL/9.1/lib/$(1) $(libDest)
161
sudo ln -s $(macPostgresDir)/lib/$(1) $(libDest)
161 162

  
162 163
endef
163 164
libDest = /usr/lib/$(1)

Also available in: Unified diff