aboutsummaryrefslogtreecommitdiff
path: root/databases/ruby-postgres
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-05-17 19:51:18 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-05-17 19:51:18 +0000
commit9eccb5c8f2ff6a06469bdd9cd97112b93090d4e0 (patch)
tree47edc469673dd1290cd38917d1a5cc7ee27f7683 /databases/ruby-postgres
parent39efc8cfc1efc57cec017ec3f7cccdfdfb067986 (diff)
downloadports-9eccb5c8f2ff6a06469bdd9cd97112b93090d4e0.tar.gz
ports-9eccb5c8f2ff6a06469bdd9cd97112b93090d4e0.zip
Notes
Diffstat (limited to 'databases/ruby-postgres')
-rw-r--r--databases/ruby-postgres/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/databases/ruby-postgres/Makefile b/databases/ruby-postgres/Makefile
index 4183ad131abf..2955f887f90d 100644
--- a/databases/ruby-postgres/Makefile
+++ b/databases/ruby-postgres/Makefile
@@ -20,7 +20,12 @@ 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
INSTALL_TARGET= site-install
DOCS_EN= ChangeLog README doc/postgres.html