Date: Mon, 01 Jul 2002 23:58:41 +0000 From: Olle Larson <olle@wushu.nu> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: ports@freebsd.org Subject: Re: USE_REINPLACE (was: Re: x11/gdkxft) Message-ID: <3D20ECB1.1060704@wushu.nu> References: <200206301633.g5UGXAEr016358@Magelan.Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
*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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D20ECB1.1060704>