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/Makefile | |
parent | 39efc8cfc1efc57cec017ec3f7cccdfdfb067986 (diff) | |
download | ports-9eccb5c8f2ff6a06469bdd9cd97112b93090d4e0.tar.gz ports-9eccb5c8f2ff6a06469bdd9cd97112b93090d4e0.zip |
Notes
Diffstat (limited to 'databases/ruby-postgres/Makefile')
-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 |