summaryrefslogtreecommitdiff
path: root/lang/gambit-c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gambit-c/Makefile')
-rw-r--r--lang/gambit-c/Makefile25
1 files changed, 10 insertions, 15 deletions
diff --git a/lang/gambit-c/Makefile b/lang/gambit-c/Makefile
index 4f991a63e097..e52d169e39ae 100644
--- a/lang/gambit-c/Makefile
+++ b/lang/gambit-c/Makefile
@@ -1,7 +1,6 @@
PORTNAME= gambit-c
-PORTVERSION= 4.9.4
DISTVERSIONPREFIX= v
-PORTREVISION= 2
+DISTVERSION= 4.9.7
PORTEPOCH= 1
CATEGORIES= lang
@@ -16,31 +15,27 @@ USES= compiler gmake
USE_GITHUB= yes
GH_ACCOUNT= gambit
GH_PROJECT= gambit
+USE_LDCONFIG= ${PREFIX}/lib/gambit-c
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-CONFIGURE_ARGS= --enable-single-host \
+CONFIGURE_ARGS= --docdir=${DOCSDIR} \
+ --enable-compiler-name=gsc-gambit \
--enable-gcc-opts \
- --docdir=${DOCSDIR} \
+ --enable-interpreter-name=gsi-gambit \
+ --enable-single-host \
--includedir=${PREFIX}/include/gambit-c \
- --libdir=${PREFIX}/lib/gambit-c \
- --enable-compiler-name=gsc-gambit \
- --enable-interpreter-name=gsi-gambit
+ --libdir=${PREFIX}/lib/gambit-c
MAKEFILE= makefile
-USE_LDCONFIG= ${PREFIX}/lib/gambit-c
INFO= gambit
-OPTIONS_DEFINE= DOCS GCC
-OPTIONS_DEFAULT=GCC
+GAMBIT_VERSION= 409007
+PLIST_SUB= GAMBIT_VERSION=${GAMBIT_VERSION}
-GCC_DESC= Build with GCC from ports
+OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${PORT_OPTIONS:MGCC}
-USE_GCC= 12
-.endif
-
post-patch:
.for i in makefile.in gsc/makefile.in gsi/makefile.in lib/makefile.in
@${REINPLACE_CMD} -e \