summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorTong LIU <nemoliu@FreeBSD.org>2010-03-14 12:25:46 +0000
committerTong LIU <nemoliu@FreeBSD.org>2010-03-14 12:25:46 +0000
commit7ae1d3310ad3b357a67457dc2a571f7da8273370 (patch)
tree671451f0ff70f7b77dfb61915ce46405bdae7bc2 /lang
parentFix the build after scandir(3) interface was changed. (diff)
- Enables threading support (unconditionally as I see no reasons not to).
- Fixes stklos-install by replacing "wget" with "fetch" in it. - Changes "stklos.org" to "stklos.net" in pkg-descr and stklos-pkg. - Adds cons25 to the list of recognized terminals that support ANSI colors. PR: ports/144650 Submitted by: Vitaly Magerya <vmagerya@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=251036
Diffstat (limited to 'lang')
-rw-r--r--lang/stklos/Makefile12
-rw-r--r--lang/stklos/pkg-descr2
2 files changed, 9 insertions, 5 deletions
diff --git a/lang/stklos/Makefile b/lang/stklos/Makefile
index 6ac7a99dbb07..c3e7194b6d73 100644
--- a/lang/stklos/Makefile
+++ b/lang/stklos/Makefile
@@ -7,7 +7,7 @@
PORTNAME= stklos
PORTVERSION= 0.98
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang scheme
MASTER_SITES= http://www.stklos.net/download/ \
ftp://kaolin.essi.fr/pub/STklos/
@@ -18,7 +18,7 @@ COMMENT= The successor of the STk Scheme interpreter
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4 \
pcre.0:${PORTSDIR}/devel/pcre \
ffi.5:${PORTSDIR}/devel/libffi \
- gc.1:${PORTSDIR}/devel/boehm-gc
+ gc.1:${PORTSDIR}/devel/boehm-gc-threaded
ONLY_FOR_ARCHS= i386 amd64
@@ -29,16 +29,20 @@ PLIST_SUB= VERSION="${PORTVERSION}"
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk \
--disable-gnome \
- --enable-threads=none
+ --enable-threads=posix
MAN1= stklos-compile.1 stklos-config.1 stklos-genlex.1 stklos.1 \
stklos-install.1
post-patch:
+ @${REINPLACE_CMD} -e 's|-lgc|-lgc-threaded|' \
+ -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/doc/Makefile.in
@${REINPLACE_CMD} -e 's|-@VERSION@||' ${WRKSRC}/doc/Makefile.in
@${REINPLACE_CMD} -e '/&&/s|make|gmake|; /&&/s|configure|./configure|' \
- ${WRKSRC}/utils/stklos-install
+ -e 's|wget|fetch|' ${WRKSRC}/utils/stklos-install
+ @${REINPLACE_CMD} -e 's|stklos\.org|stklos.net|' \
+ ${WRKSRC}/pkgman/params.stk
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -E -e 's/^(install-data-am:).*/\1 install-man install-schemeDATA/' \
diff --git a/lang/stklos/pkg-descr b/lang/stklos/pkg-descr
index 878a3feb92c0..bc5191a1c155 100644
--- a/lang/stklos/pkg-descr
+++ b/lang/stklos/pkg-descr
@@ -4,4 +4,4 @@ implementation is based on an ad-hoc Virtual Machine. STklos can also
be compiled as a library, so that one can easily embed it in an
application.
-WWW: http://www.stklos.org/
+WWW: http://www.stklos.net/