aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql-plruby
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-02-19 18:03:00 +0800
committerknu <knu@FreeBSD.org>2002-02-19 18:03:00 +0800
commit5d6a6d0ced502c81ba0e45b4b714e09964903681 (patch)
tree0e96d8965e56ca598dddb83989ef1b576c3ed5dc /databases/postgresql-plruby
parent3c85139e4404900a0371fa3fa2e3032a638d1dba (diff)
downloadfreebsd-ports-gnome-5d6a6d0ced502c81ba0e45b4b714e09964903681.tar.gz
freebsd-ports-gnome-5d6a6d0ced502c81ba0e45b4b714e09964903681.tar.zst
freebsd-ports-gnome-5d6a6d0ced502c81ba0e45b4b714e09964903681.zip
Support PostgreSQL 7.2 and drop the WITH_OLD_LAYOUT support.
Submitted by: Palle Girgensohn <girgen@partitur.se> Bump PORTREVISION.
Diffstat (limited to 'databases/postgresql-plruby')
-rw-r--r--databases/postgresql-plruby/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/databases/postgresql-plruby/Makefile b/databases/postgresql-plruby/Makefile
index b6bc44bc1cd8..84d794294f35 100644
--- a/databases/postgresql-plruby/Makefile
+++ b/databases/postgresql-plruby/Makefile
@@ -7,6 +7,7 @@
PORTNAME= plruby
PORTVERSION= 0.2.5
+PORTREVISION= 1
CATEGORIES= databases ruby
MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/
PKGNAMEPREFIX= postgresql-
@@ -19,21 +20,14 @@ LIB_DEPENDS= pq.2:${PGSQL_PORTDIR}
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-PGSQL_VERSION?= 71
+PGSQL_VERSION?= 72
PGSQL_PORTDIR?= ${PORTSDIR}/databases/postgresql7
PGSQL_WRKSRC_CMD= cd ${PGSQL_PORTDIR} && ${MAKE} -V WRKSRC
CONFIGURE_ARGS= --with-pgsql-version="${PGSQL_VERSION}" \
- --with-pgsql-srcinc-dir="`${PGSQL_WRKSRC_CMD}`/src/include"
-.if defined(WITH_OLD_LAYOUT)
-CONFIGURE_ARGS+=
- --with-pgsql-include-dir="${LOCALBASE}/pgsql/include" \
- --with-pgsql-lib-dir="${LOCALBASE}/pgsql/lib"
-.else
-CONFIGURE_ARGS+= --with-pgsql-include-dir="${LOCALBASE}/include/pgsql" \
+ --with-pgsql-srcinc-dir="`${PGSQL_WRKSRC_CMD}`/src/include" \
+ --with-pgsql-include-dir="${LOCALBASE}/include" \
--with-pgsql-lib="${LOCALBASE}/lib"
-.endif
-
INSTALL_TARGET= site-install
DOCS= README.en plruby.html plruby.rd