aboutsummaryrefslogtreecommitdiffstats
path: root/lang/squeak
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2010-04-18 03:44:54 +0800
committersylvio <sylvio@FreeBSD.org>2010-04-18 03:44:54 +0800
commit56761d514a462b83cd0ebb873cb007e3713e5d62 (patch)
treefb7c22d2c1d9a533778b75d547540b3fce9da909 /lang/squeak
parent40ad0ee60090ae2096a7aedb4dc8788330dbe005 (diff)
downloadfreebsd-ports-gnome-56761d514a462b83cd0ebb873cb007e3713e5d62.tar.gz
freebsd-ports-gnome-56761d514a462b83cd0ebb873cb007e3713e5d62.tar.zst
freebsd-ports-gnome-56761d514a462b83cd0ebb873cb007e3713e5d62.zip
- Fix problem of utmpx.h with build in 9-current
- BUMP PORTREVISION PR: ports/145758 Submitted by: Takeshi Mutoh <mutoh@openedu.org> (maintainer) Approved by: itetcu (mentor, implicit)
Diffstat (limited to 'lang/squeak')
-rw-r--r--lang/squeak/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/lang/squeak/Makefile b/lang/squeak/Makefile
index 30c26b81e86a..5cec2e667edc 100644
--- a/lang/squeak/Makefile
+++ b/lang/squeak/Makefile
@@ -7,6 +7,7 @@
PORTNAME= squeak
PORTVERSION= 3.9
+PORTREVISION= 1
CATEGORIES= lang
##################################################
MASTER_SITES= http://www.squeakvm.org/unix/release/ \
@@ -49,10 +50,6 @@ OPTIONS+= XIM "XIM support (Implies X)" off
.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 +165,11 @@ post-patch:
.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: