From owner-freebsd-ports Mon Jul 1 14:58:58 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F3BB37B401 for ; Mon, 1 Jul 2002 14:58:53 -0700 (PDT) Received: from wushu.nu (wushu.nu [213.88.204.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D9EE43E26 for ; Mon, 1 Jul 2002 14:58:52 -0700 (PDT) (envelope-from olle@wushu.nu) Received: from [213.67.154.138] (account olle HELO wushu.nu) by wushu.nu (CommuniGate Pro SMTP 3.4.6) with ESMTP id 660067; Mon, 01 Jul 2002 23:58:44 +0200 Message-ID: <3D20ECB1.1060704@wushu.nu> Date: Mon, 01 Jul 2002 23:58:41 +0000 From: Olle Larson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020630 X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: Alexander Leidinger Cc: ports@freebsd.org Subject: Re: USE_REINPLACE (was: Re: x11/gdkxft) References: <200206301633.g5UGXAEr016358@Magelan.Leidinger.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org *This message was transferred with a trial version of CommuniGate(tm) Pro* Sorry for the delay.. :/ Alexander Leidinger wrote: >On 30 Jun, Oliver Braun wrote: > > > >>>>>This suggestions isn't appropriate. It's a bug in gdkxft. >>>>> >>>>> >>No! >> >> > >Or a bug in bsd.port.mk. If he hasn't a bsd.port.mk with REINPLACE_CMD, >he couldn't see the error from sed, so the ident of >/usr/ports/Mk/bsd.port.mk would be interesting too. > [root@bazoo:~] $ ident /usr/ports/Mk/bsd.port.mk /usr/ports/Mk/bsd.port.mk: $FreeBSD: ports/Mk/bsd.port.mk,v 1.416 2002/06/28 12:20:03 sobomax Exp $ $NetBSD: $ > > >>x11/gdkxft in the current ports collection uses REINPLACE_CMD and >>depends on textproc/sed_inplace. >> >> > > > >>Your ports collection seems to be a little bit borked. >> >> My ports tree is up to date. Anyway, I tried to reinstall sed from /usr/src/usr.bin/sed. After that there was no problems with the installation of x11/gdkxft - the problems began later when I typed "gdkxft_sysinstall" as root. I recieved one error which was something like "could not find directory xinitrc.d/Xsession.d" ---- Sawfish wouldn't start again after that. I found only one way to fix this: reinstalling sawfish from ports. >Perhaps... > >Mine isn't borked, and I see the same error, but at least I know why I >see the same error. > >(4) root@ttyp2 # make >===> Extracting for gdkxft-gnome-1.5_1 > > >>>Checksum OK for gdkxft-1.5.tar.gz. >>> >>> >===> gdkxft-gnome-1.5_1 depends on shared library: iconv.3 - found >===> gdkxft-gnome-1.5_1 depends on shared library: X11.6 - found >===> gdkxft-gnome-1.5_1 depends on shared library: esd.2 - found >===> gdkxft-gnome-1.5_1 depends on shared library: glib12.3 - found >===> gdkxft-gnome-1.5_1 depends on shared library: gtk12.2 - found >===> gdkxft-gnome-1.5_1 depends on shared library: Imlib.5 - found >===> gdkxft-gnome-1.5_1 depends on shared library: gnome.5 - found >===> gdkxft-gnome-1.5_1 depends on shared library: capplet.5 - found >===> gdkxft-gnome-1.5_1 depends on shared library: panel_applet.5 - found >===> Patching for gdkxft-gnome-1.5_1 >===> Applying FreeBSD patches for gdkxft-gnome-1.5_1 >echo OSVERSION 500034 >OSVERSION 500034 >sed: illegal option -- i >usage: sed script [-Ean] [file ...] > sed [-an] [-e script] ... [-f script_file] ... [file ...] >*** Error code 1 > >Stop in /big/usr/ports/x11/gdkxft. > >(5) root@ttyp2 # ident Makefile >Makefile: > $FreeBSD: ports/x11/gdkxft/Makefile,v 1.12 2002/06/27 13:32:14 perky Exp $ > >(6) root@ttyp2 # ident ../../Mk/bsd.port.mk >../../Mk/bsd.port.mk: > $FreeBSD: ports/Mk/bsd.port.mk,v 1.416 2002/06/28 12:20:03 sobomax Exp $ > $NetBSD: $ > >And bsd.port.mk: >.if defined(USE_REINPLACE) >REINPLACE_ARGS?= -i.bak >.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500034 ) >BUILD_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 > >It's a -current before perl got removed, before sed got '-i' and before >gcc was updated to 3.1. I think we should decide to bump the OSVERSION >to 500036, even if we have some overlap with sed/sed_inplace. Just to be >safe. > >Bye, >Alexander. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message