aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-DBD-Pg-13/Makefile2
-rw-r--r--databases/p5-DBD-Pg/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/databases/p5-DBD-Pg-13/Makefile b/databases/p5-DBD-Pg-13/Makefile
index afb7642fcc46..431d0c26831b 100644
--- a/databases/p5-DBD-Pg-13/Makefile
+++ b/databases/p5-DBD-Pg-13/Makefile
@@ -27,7 +27,7 @@ MAN3= DBD::Pg.3 DBD::dbd-pg.3
.include <bsd.port.mk>
.if defined(WITH_OLD_LAYOUT)
-CONFIGURE_ENV+= POSTGRES_INCLUDE=${LOCALBASE}/include \
+CONFIGURE_ENV+= POSTGRES_INCLUDE=${LOCALBASE}/include/pgsql \
POSTGRES_LIB=${LOCALBASE}/lib
.else
.if exists(${LOCALBASE}/pgsql/bin/pg_config)
diff --git a/databases/p5-DBD-Pg/Makefile b/databases/p5-DBD-Pg/Makefile
index afb7642fcc46..431d0c26831b 100644
--- a/databases/p5-DBD-Pg/Makefile
+++ b/databases/p5-DBD-Pg/Makefile
@@ -27,7 +27,7 @@ MAN3= DBD::Pg.3 DBD::dbd-pg.3
.include <bsd.port.mk>
.if defined(WITH_OLD_LAYOUT)
-CONFIGURE_ENV+= POSTGRES_INCLUDE=${LOCALBASE}/include \
+CONFIGURE_ENV+= POSTGRES_INCLUDE=${LOCALBASE}/include/pgsql \
POSTGRES_LIB=${LOCALBASE}/lib
.else
.if exists(${LOCALBASE}/pgsql/bin/pg_config)