Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 02:04:44 -0500 (EST)
From:      "kalin mintchev" <kalin@el.net>
To:        "Matthew Seaman" <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ghostscript
Message-ID:  <52429.74.64.6.149.1169708684.squirrel@mail.el.net>
In-Reply-To: <45B84F6B.2010100@infracaninophile.co.uk>
References:  <58592.68.165.89.71.1169629752.squirrel@mail.el.net>	<cb5206420701240146t33bf190bx26175ca88aff6ab8@mail.gmail.com>	<57582.74.64.6.149.1169648007.squirrel@mail.el.net>	<cb5206420701240740v2fa136ddx32a1ca5166b48b5a@mail.gmail.com> <62686.74.64.6.149.1169656080.squirrel@mail.el.net> <45B78FE1.50105@infracaninophile.co.uk> <61271.74.64.6.149.1169666002.squirrel@mail.el.net> <45B84F6B.2010100@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52429.74.64.6.149.1169708684.squirrel>