ghostscript

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Jan 25 06:34:52 UTC 2007


kalin mintchev wrote:
>> kalin mintchev wrote:
>>>> Forget about src. Try updating your ports. Try
>>>> ghostscript-afpl.
>>> ok...  same crap:
>>>
>>>>>>   extracting gs6.0.lexmark7000.patch ...
>>> ===>  Patching for ghostscript-afpl-8.54,1
>>> ===>  Applying FreeBSD patches for ghostscript-afpl-8.54,1
>>> -e: not found
>>> *** Error code 127
>>>
>>> Stop in /usr/ports/print/ghostscript-afpl.
>>>
>>>
>>> what next?
>> What's the result if you type:
>>
>>    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}

Either you haven't got an up to date copy of the /usr/ports/Mk stuff
or you are somehow overriding REINPLACE_CMD elsewhere, perhaps in
/etc/make.conf.

The current version number of bsd.port.mk is 

$FreeBSD: ports/Mk/bsd.port.mk,v 1.545 2007/01/08 00:00:33 pav Exp $

but REINPLACE_CMD hasn't been modified for quite some time -- you'ld need
a ports tree that was years out of date not to have it.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070125/08539878/signature.pgp


More information about the freebsd-questions mailing list