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 .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 .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)