Date: Fri, 16 Apr 2010 22:24:22 +0900 From: Takeshi MUTOH <mutoh@openedu.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: mutoh@openedu.org Subject: ports/145758: [lang/squeak] Unbroke related utmpx.h Message-ID: <86mxx3h6nt.wl%mutoh@openedu.org> Resent-Message-ID: <201004161330.o3GDU4MQ043103@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 145758 >Category: ports >Synopsis: lang/squeak can't compile under 9-current because of utmpx.h issue >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Apr 16 13:30:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Takeshi MUTOH <mutoh@openedu.org> >Release: FreeBSD 9.0-CURRENT i386 >Organization: 610t >Environment: FreeBSD fuji.mutoh.dyndns.org 9.0-CURRENT FreeBSD 9.0-CURRENT #47: Tue Apr 13 06:45:18 JST 2010 root@fuji.mutoh.dyndns.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: The lang/squeak can't compile under 9-current because of utmpx.h issue. See - http://lists.freebsd.org/pipermail/freebsd-current/2010-January/014893.html more detail. >How-To-Repeat: Under 9-current, try below: $ cd /usr/ports/lang/squeak $ make >Fix: Please apply patch below: diff -ruN squeak.org/Makefile squeak/Makefile --- squeak.org/Makefile 2010-04-16 16:13:08.000000000 +0900 +++ squeak/Makefile 2010-04-16 21:59:47.000000000 +0900 @@ -49,10 +49,6 @@ .include <bsd.port.pre.mk> -.if ${OSVERSION} > 900007 -BROKEN= fails to build with new utmpx -.endif - ################################################## XIM_PATCH= SqueakImmX11Plugin3a${EXTRACT_SUFX} PLUGIN_IMAGE= SqueakPlugin.zip @@ -168,6 +164,13 @@ .endif # Fix external plugins @${ECHO_MSG} "EXTERNAL_PLUGINS = B3DAcceleratorPlugin PseudoTTYPlugin UnixOSProcessPlugin XDisplayControlPlugin Squeak3D AioPlugin ${EXT_PLUGINS}" > ${WRKSRC}/platforms/unix/src/plugins.ext +# Fix utmp.h +.if ${OSVERSION} > 900007 + @${REINPLACE_CMD} \ + -e "s,<utmp.h>,<utmpx.h>,g" \ + ${WRKSRC}/platforms/unix/plugins/PseudoTTYPlugin/openpty.h +.endif + ################################################## pre-configure: -- Takeshi MUTOH <mutoh@openedu.org> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86mxx3h6nt.wl%mutoh>