From owner-freebsd-ports Sun Jun 30 9:33:43 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 C4BA937B400; Sun, 30 Jun 2002 09:33:38 -0700 (PDT) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A00543E09; Sun, 30 Jun 2002 09:33:37 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd09.sul.t-online.de by mailout11.sul.t-online.com with smtp id 17Ohdg-0007dO-03; Sun, 30 Jun 2002 18:33:28 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.121.150]) by fmrl09.sul.t-online.com with esmtp id 17OhdZ-1Bhvn6C; Sun, 30 Jun 2002 18:33:21 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g5UGXJx38723; Sun, 30 Jun 2002 18:33:19 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.3/8.12.3) with ESMTP id g5UGXAEr016358; Sun, 30 Jun 2002 18:33:13 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200206301633.g5UGXAEr016358@Magelan.Leidinger.net> Date: Sun, 30 Jun 2002 18:33:10 +0200 (CEST) From: Alexander Leidinger Subject: USE_REINPLACE (was: Re: x11/gdkxft) To: obraun@informatik.unibw-muenchen.de Cc: ler@lerctr.org, olle@wushu.nu, ports@FreeBSD.ORG, portmgr@FreeBSD.org In-Reply-To: <20020630155733.GA80233@informatik.unibw-muenchen.de> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net 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 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. > 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. 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. -- Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message