summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-04-07 04:47:27 +0000
committerobache <obache@pkgsrc.org>2012-04-07 04:47:27 +0000
commit8d15d38336d03ffdfa77abf8a98eff535dd7bd1a (patch)
treec8a095ee94b0f7d4ee7fbb920b126eea7024c53a
parent24cbc6ceba68fe4468e8c872982dd16ee4b20646 (diff)
downloadpkgsrc-8d15d38336d03ffdfa77abf8a98eff535dd7bd1a.tar.gz
specify include/lib dir for iodbc respectively.
-rw-r--r--databases/ruby-odbc/options.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/ruby-odbc/options.mk b/databases/ruby-odbc/options.mk
index da6e6d2948f..3366edf7784 100644
--- a/databases/ruby-odbc/options.mk
+++ b/databases/ruby-odbc/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1.1.1 2008/04/04 15:15:50 jlam Exp $
+# $NetBSD: options.mk,v 1.2 2012/04/07 04:47:27 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ruby-odbc
PKG_OPTIONS_REQUIRED_GROUPS= odbc
@@ -12,7 +12,8 @@ PKG_SUGGESTED_OPTIONS= iodbc
###
.if !empty(PKG_OPTIONS:Miodbc)
. include "../../databases/iodbc/buildlink3.mk"
-CONFIGURE_ARGS+= --with-odbc-dir=${BUILDLINK_PREFIX.iodbc}
+CONFIGURE_ARGS+= --with-odbc-include=${BUILDLINK_PREFIX.iodbc}/include/iodbc
+CONFIGURE_ARGS+= --with-odbc-lib=${BUILDLINK_PREFIX.iodbc}/lib/iodbc
.endif
###