Re: [PORTS] QNX4 port

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PORTS] QNX4 port
Дата
Msg-id 199912161645.LAA06827@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [PORTS] QNX4 port  ("Kardos, Dr. Andreas" <kardos@repas-aeg.de>)
Список pgsql-ports
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Bruce Momjian wrote:
> >Applied.  I have changed @if to -@if and removed the QNX-specific code.
> >This should allow QNX to compile in the current source tree.
>
>
> Thanks, but there are still some little problems remaining:
>
> 1. template/qnx must be renamed to template/QNX. Otherwise configure will
> not find it. At the beginning I wanted to name it qnx4. But this would
> require one more patch of configure because of QNX problems.

I want it to be lowercase.  All the other OS's are lowercase.  How do
they do it.  I recommend a change to template/.similar so QNX is
automatically identified on startup.


>
> 2. backend/port/qnx must be renamed to backend/port/qnx4. Otherwise gmake
> fails.
> It makes sense to name it qnx4 because there are two main versions of QNX in
> use, QNX2 and QNX4. QNX2 is not compatible at all. QNX4 claims POSIX
> compatibility. This port works for QNX4 only.

Done.

>
> 3. Since configure is part of the source tree it probably should be patched
> too (not only configure.in).

Done.  Forgot.

>
> 4. Unfortunately backend/bootstrap/Makefile must be a little more
> complicated (new version in patch).

Done.

>
> 5. In regress.sh the line
> echo "diff ${DIFFOPT} -C3 ..."
> can be removed (new version in patch).

Done.

>
> 6. Before "gmake install" the directory /usr/local/pgsql[/lib] must be
> created manually because
> mkdir /usr/local/pgsql/lib fails if /usr/local/pgsql does not exist yet.
> This is obviously a general problem. "mkdir -p"?

Not sure.

>
> An updated version of README.qnx4 is in the patch too. PATCH.qnx4 is for a
> problem in a g++ header.

I put the patch at the end of the readme.


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-ports по дате отправления:

Предыдущее
От: "Kardos, Dr. Andreas"
Дата:
Сообщение: Re: [PORTS] QNX4 port
Следующее
От: Petr Vavrinec
Дата:
Сообщение: va_list