diff options
Diffstat (limited to 'dev-perl/DBD-Pg/DBD-Pg-1.49-r1.ebuild')
-rw-r--r-- | dev-perl/DBD-Pg/DBD-Pg-1.49-r1.ebuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/dev-perl/DBD-Pg/DBD-Pg-1.49-r1.ebuild b/dev-perl/DBD-Pg/DBD-Pg-1.49-r1.ebuild index 7f27da9..eb8c399 100644 --- a/dev-perl/DBD-Pg/DBD-Pg-1.49-r1.ebuild +++ b/dev-perl/DBD-Pg/DBD-Pg-1.49-r1.ebuild @@ -19,8 +19,14 @@ DEPEND="virtual/perl-Test-Simple >=dev-db/postgresql-libs-7.3 dev-lang/perl" -# env variables for compilation: -export POSTGRES_INCLUDE=$($(postgresql_get_pgconfig) --includedir) -export POSTGRES_LIB=$($(postgresql_get_pgconfig) --libdir) - mydoc="Changes README" + +postgres_vars() { + POSTGRES_INCLUDE=$($(postgresql_get_pgconfig) --includedir) + POSTGRES_LIB=$($(postgresql_get_pgconfig) --libdir) +} + +src_compile() { + postgres_vars + perl-module_src_compile +} |