summaryrefslogtreecommitdiffstats
path: root/lang/smalltalk/Makefile
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-06 04:59:45 +0000
committerpat <pat@FreeBSD.org>2002-01-06 04:59:45 +0000
commitef6dd4d12e1bb72858bc2e5d6037832a092f2de9 (patch)
treede288ebbb6018543e60cb1c5e29ab8cc269ee285 /lang/smalltalk/Makefile
parentff22a16cb1d07194212cfd5b29aec34ba49a56b0 (diff)
downloadFreeBSD-ports-ef6dd4d12e1bb72858bc2e5d6037832a092f2de9.zip
FreeBSD-ports-ef6dd4d12e1bb72858bc2e5d6037832a092f2de9.tar.gz
Update to 1.95.8
PR: 33599 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'lang/smalltalk/Makefile')
-rw-r--r--lang/smalltalk/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile
index c873659..33a192c 100644
--- a/lang/smalltalk/Makefile
+++ b/lang/smalltalk/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= smalltalk
-PORTVERSION= 1.95.7
+PORTVERSION= 1.95.8
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -20,12 +20,22 @@ CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= gst.1
+.if defined(WITH_TCLTK)
+LIB_DEPENDS+= tk83.1:${PORTSDIR}/x11-toolkits/tk83
+CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.3 \
+ --with-tk=${LOCALBASE}/lib/tk8.3
+PLIST_SUB+= TCLTK=""
+.else
+CONFIGURE_ARGS+= --with-tcl=no
+PLIST_SUB+= TCLTK="@comment "
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/doc/gst.info*
pre-patch:
@find ${WRKSRC} -name 'Makefile.in' | xargs ${PERL} -pi -e \
's| -release \$$\(VERSION\)| -avoid-version|g'
- @${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/ltdl/ltdl.c
+ @${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/libltdl/ltdl.c
.include <bsd.port.mk>
OpenPOWER on IntegriCloud