pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: databases/postgresql12: a simple fix for DragonFly BSD



On Fri, Aug 07, 2020 at 02:05:11PM +0200, Aleksej Lebedev wrote:
> Hi,
> 
> Postgresql builds on DragonflyBSD with no extra patches if only --with-template=freebsd is passed at the the configure stage:
> 
> diff --git a/databases/postgresql12/Makefile.common b/databases/postgresql12/Makefile.common
> index 3f0ae40f1a0..1b7551f592b 100644
> --- a/databases/postgresql12/Makefile.common
> +++ b/databases/postgresql12/Makefile.common
> @@ -45,6 +45,7 @@ PKG_SYSCONFSUBDIR=    postgresql
>  PG_TEMPLATE.SunOS=     solaris
>  PG_TEMPLATE.IRIX=      irix5
>  PG_TEMPLATE.MirBSD=    openbsd
> +PG_TEMPLATE.DragonFly= freebsd
>  .if !defined(PG_TEMPLATE.${OPSYS})
>  PG_TEMPLATE.${OPSYS}=  ${LOWER_OPSYS}
>  .endif
> 
> However this is not enough for postgrqsql11: it fails at a later stage.

I was over-eager and adjusted all the postgresql packages for the next
person to come along to try and fix them, hope this is fine.


Home | Main Index | Thread Index | Old Index