Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 06:34:19 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        kalin@el.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ghostscript
Message-ID:  <45B84F6B.2010100@infracaninophile.co.uk>
In-Reply-To: <61271.74.64.6.149.1169666002.squirrel@mail.el.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig315101EF7C7EED57C805A764
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

kalin mintchev wrote:
>> kalin mintchev wrote:
>>>> Forget about src. Try updating your ports. Try
>>>> ghostscript-afpl.
>>> ok...  same crap:
>>>
>>>>>>   extracting gs6.0.lexmark7000.patch ...
>>> =3D=3D=3D>  Patching for ghostscript-afpl-8.54,1
>>> =3D=3D=3D>  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
>=20
>=20
> a new line....  absolutly nothing.....
>=20
>=20
>> in the Ghostscript port directory?  It should look like this:
>>
>> happy-idiot-talk:...ports/print/ghostscript-afpl:% make -V REINPLACE_C=
MD
>> /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?=3D	-i.bak
REINPLACE_CMD?=3D	${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=20

$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

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


--------------enig315101EF7C7EED57C805A764
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFuE908Mjk52CukIwRCJ6pAJ96sra0hI57fQevnc4bevzZLFeblACeLYtX
WpUVg2CJml510ojHiowYLA4=
=xu+x
-----END PGP SIGNATURE-----

--------------enig315101EF7C7EED57C805A764--



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