aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gambit-c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gambit-c/Makefile')
-rw-r--r--lang/gambit-c/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/lang/gambit-c/Makefile b/lang/gambit-c/Makefile
index 323ce43e1b9d..e926b42b3930 100644
--- a/lang/gambit-c/Makefile
+++ b/lang/gambit-c/Makefile
@@ -6,26 +6,27 @@
#
PORTNAME= gambit-c
-DISTVERSION= v4_4_3
+DISTVERSION= v4_6_0
PORTEPOCH= 1
CATEGORIES= lang
-MASTER_SITES= http://www.iro.umontreal.ca/~gambit/download/gambit/v4.4/source/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/
DISTNAME= gambc-${DISTVERSION}
+EXTRACT_SUFX= .tgz
MAINTAINER= pmn@bakarika.net
COMMENT= Gambit programming system where the compiler generates portable C code
+MAN1= gsi.1
+
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-single-host --enable-gcc-opts
-CONFIGURE_ARGS+= --prefix=${PREFIX} --docdir=${PREFIX}/share/doc/gambit-c
+CONFIGURE_ARGS = --enable-single-host --enable-gcc-opts
+CONFIGURE_ARGS+= --prefix=${PREFIX} --docdir=${PREFIX}/share/doc/gambit-c
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/gambit-c/ --includedir=${PREFIX}/include/gambit-c
+CONFIGURE_ARGS+= --enable-interpreter-name=gsi-gambit --enable-compiler-name=gsc-gambit
-# Will need upstream patch to avoid the error
-#INFO= gambit-c
+INFO= gambit-c
-# Will need upstream patch too
MAKE_JOBS_SAFE= yes
.include <bsd.port.pre.mk>
@@ -45,8 +46,6 @@ post-patch:
@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsi/makefile.in
@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsc/makefile.in
@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsc/makefile.in
- @${REINPLACE_CMD} -e 's|^EXECUTABLE = gsi@exe@|EXECUTABLE = gsi-gambit@exe@|' ${WRKSRC}/gsi/makefile.in
- @${REINPLACE_CMD} -e 's|^EXECUTABLE = gsc@exe@|EXECUTABLE = gsc-gambit@exe@|' ${WRKSRC}/gsc/makefile.in
post-configure:
@${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile