ghostscript
kalin mintchev
kalin at el.net
Thu Jan 25 07:03:10 UTC 2007
>>> make -V REINPLACE_CMD
>>
>>
>> a new line.... absolutly nothing.....
>>
>>
>>> in the Ghostscript port directory? It should look like this:
>>>
>>> happy-idiot-talk:...ports/print/ghostscript-afpl:% make -V
>>> REINPLACE_CMD
>>> /usr/bin/sed -i.bak
>
> OK. That's what is causing the problems for you. The definition of
> REINPLACE_CMD should come from /usr/ports/Mk/bsd.port.mk around
> lines 2084--2087:
>
> # Macro for doing in-place file editing using regexps
> REINPLACE_ARGS?= -i.bak
> REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS}
>
the bsd i'm trying to compile the gs on is 4.10.
here is what i have in bsd.port.mk
# Special macro for doing in-place file editing using regexps
.if defined(USE_REINPLACE)
REINPLACE_ARGS?= -i.bak
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} <
500036 )
PATCH_DEPENDS+= ${LOCALBASE}/bin/sed_inplace:${PORTSDIR}/textproc/sed_inplace
REINPLACE_CMD?= ${LOCALBASE}/bin/sed_inplace ${REINPLACE_ARGS}
.else
REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS}
.endif
.endif
sed_inplace is in th eports and installed it myself but that didnt make
any difference...
More information about the freebsd-questions
mailing list