summaryrefslogtreecommitdiff
path: root/lang/squeak
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-04-17 19:44:54 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2010-04-17 19:44:54 +0000
commit1b2b5ae7ccba02d4a147a375fc66188d8785897f (patch)
treed706e8907606e7fcc65df8debf87f53c57822775 /lang/squeak
parent- Update to 1.6.15 (diff)
- 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)
Notes
Notes: svn path=/head/; revision=252819
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: