From e5755ec1b157ff6070576ffb6bba7e557b1e32d1 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Fri, 13 Jul 2012 21:54:21 -0400 Subject: [PATCH] Touching up makefile a bit with options for all builtin PL interpreters --- postgresql/installation/Makefile | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) 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