From owner-freebsd-questions@FreeBSD.ORG Thu Jan 25 07:03:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 799B316A401 for ; Thu, 25 Jan 2007 07:03:10 +0000 (UTC) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [68.165.89.91]) by mx1.freebsd.org (Postfix) with ESMTP id 20CE313C45D for ; Thu, 25 Jan 2007 07:03:10 +0000 (UTC) (envelope-from kalin@el.net) Received: (qmail 48089 invoked by uid 1008); 25 Jan 2007 07:04:44 -0000 Received: from unknown (HELO mail.el.net) (127.0.0.1) by mail.el.net with SMTP; 25 Jan 2007 07:04:44 -0000 Received: from 74.64.6.149 (SquirrelMail authenticated user kalin@el.net) by mail.el.net with HTTP; Thu, 25 Jan 2007 02:04:44 -0500 (EST) 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> <57582.74.64.6.149.1169648007.squirrel@mail.el.net> <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> Date: Thu, 25 Jan 2007 02:04:44 -0500 (EST) From: "kalin mintchev" To: "Matthew Seaman" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: ghostscript X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kalin@el.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2007 07:03:10 -0000 >>> 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...