diff --git a/postgresql/installation/Makefile b/postgresql/installation/Makefile index 73b33d9..85e02c2 100644 --- a/postgresql/installation/Makefile +++ b/postgresql/installation/Makefile @@ -18,14 +18,19 @@ restart: $(HERE)/bin/pg_ctl $(HERE)/data $(HERE)/log $(TARBALL_BASENAME).tar.bz2: curl -L -O $(TARBALL_URL) -$(TARBALL_BASENAME): $(TARBALL_BASENAME).tar.bz2 - tar xjvf $< - -$(TARBALL_BASENAME)/Makefile: $(TARBALL_BASENAME) - cd $< && ./configure --prefix=$(HERE) - -$(HERE)/bin/postgres: $(TARBALL_BASENAME)/Makefile - cd $(TARBALL_BASENAME) && \ +$(TARBALL_BASENAME)/configure: $(TARBALL_BASENAME).tar.bz2 + tar xjvf $< && touch $@ + +$(HERE)/bin/pg_ctl: $(TARBALL_BASENAME)/configure + cd $(TARBALL_BASENAME) && ./configure \ + --prefix=$(HERE) \ + --with-python \ + --with-perl \ + --with-tcl \ + --with-tclconfig=/usr/lib/tcl8.5 \ + --with-openssl \ + --with-libxml \ + --with-libxslt && \ make && \ make install