summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/ruby-postgres/Makefile8
-rw-r--r--databases/rubygem-postgres/Makefile8
2 files changed, 4 insertions, 12 deletions
diff --git a/databases/ruby-postgres/Makefile b/databases/ruby-postgres/Makefile
index 1d7651da2a34..42940ea27c3b 100644
--- a/databases/ruby-postgres/Makefile
+++ b/databases/ruby-postgres/Makefile
@@ -7,6 +7,7 @@
PORTNAME= postgres
PORTVERSION= 0.6.5
+PORTREVISION= 1
CATEGORIES= databases ruby
MASTER_SITES= http://www.postgresql.jp/interfaces/ruby/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -20,12 +21,7 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-.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"
-.endif
+CONFIGURE_ARGS= --with-pgsql-include-dir="${LOCALBASE}/include"
INSTALL_TARGET= site-install
DOCS_EN= ChangeLog README doc/postgres.html
diff --git a/databases/rubygem-postgres/Makefile b/databases/rubygem-postgres/Makefile
index 1d7651da2a34..42940ea27c3b 100644
--- a/databases/rubygem-postgres/Makefile
+++ b/databases/rubygem-postgres/Makefile
@@ -7,6 +7,7 @@
PORTNAME= postgres
PORTVERSION= 0.6.5
+PORTREVISION= 1
CATEGORIES= databases ruby
MASTER_SITES= http://www.postgresql.jp/interfaces/ruby/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -20,12 +21,7 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-.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"
-.endif
+CONFIGURE_ARGS= --with-pgsql-include-dir="${LOCALBASE}/include"
INSTALL_TARGET= site-install
DOCS_EN= ChangeLog README doc/postgres.html