summaryrefslogtreecommitdiff
path: root/databases/postgresql-plruby
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-02-19 10:03:00 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-02-19 10:03:00 +0000
commit8d438d94fa4ea9b371dd3767635bbebcc01fda85 (patch)
treea0111bddd98c3ef933b4a05e10a5328c318094f7 /databases/postgresql-plruby
parentSupport the new layout of PostgreSQL 7.2 and drop the WITH_OLD_LAYOUT (diff)
Support PostgreSQL 7.2 and drop the WITH_OLD_LAYOUT support.
Submitted by: Palle Girgensohn <girgen@partitur.se> Bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=54903
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