diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-05-17 19:51:18 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-05-17 19:51:18 +0000 |
commit | 9eccb5c8f2ff6a06469bdd9cd97112b93090d4e0 (patch) | |
tree | 47edc469673dd1290cd38917d1a5cc7ee27f7683 /databases/ruby-postgres | |
parent | fix path (diff) |
Add a WITH_OLD_LAYOUT hook for those who still use PostgreSQL with the
old layout.
PR: ports/27292
Submitted by: Hoss Firooznia <hoss@lodestone.org>
Notes
Notes:
svn path=/head/; revision=42683
Diffstat (limited to 'databases/ruby-postgres')
-rw-r--r-- | databases/ruby-postgres/Makefile | 5 |
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 |