1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

lang/intercal: update to 0.32

- move WWW to new home
 - obey CC, even at runtime

Changelog: https://gitlab.com/esr/intercal/-/blob/master/NEWS
This commit is contained in:
Robert Clausecker 2024-02-09 10:46:49 +01:00
parent 173b2c2ac9
commit ea8439341a
4 changed files with 28 additions and 22 deletions

View File

@ -1,23 +1,20 @@
PORTNAME= intercal
PORTVERSION= 0.31
PORTVERSION= 0.32
CATEGORIES= lang
MASTER_SITES= http://www.catb.org/~esr/intercal/
MAINTAINER= fuz@FreeBSD.org
COMMENT= C-INTERCAL compiler, ick, and supporting libraries
WWW= http://www.catb.org/~esr/intercal/
WWW= https://gitlab.com/esr/intercal
LICENSE= GPLv2
USES= gmake
USES= autoreconf gmake
GNU_CONFIGURE= yes
CFLAGS+= -D_POSIX_C_SOURCE=200809L
CPPFLAGS+= -DCC='\"${CC}\"'
DATADIR= ${PREFIX}/share/ick
INFO= ick
post-patch:
@${REINPLACE_CMD} -e '/ICK_SPECIFIC_SUBDIR/s/-@PACKAGE_VERSION@// ' \
${WRKSRC}/buildaux/Makefile.in
TEST_TARGET= check
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1611593892
SHA256 (intercal-0.31.tar.gz) = 93d842b81ecdc82b352beb463fbf688749b0c04445388a999667e1958bba4ffc
SIZE (intercal-0.31.tar.gz) = 940950
TIMESTAMP = 1707470595
SHA256 (intercal-0.32.tar.gz) = a3c1e0a7ac591f78b7f5af42fdc6ae7d2a02981b7862c0320d3537beb54dfd78
SIZE (intercal-0.32.tar.gz) = 960879

View File

@ -0,0 +1,20 @@
--- buildaux/Makefile.am.orig 2024-02-08 13:40:49 UTC
+++ buildaux/Makefile.am
@@ -1,15 +1,14 @@
# SPDX-FileCopyrightText: (C) Eric S. Raymond <esr@thyrsus.com>
# SPDX-License-Identifier: GPL-2.0-or-later
-ICK_SPECIFIC_SUBDIR = ick-@PACKAGE_VERSION@
+ICK_SPECIFIC_SUBDIR = ick
ickincludedir = $(includedir)/$(ICK_SPECIFIC_SUBDIR)
ickdatadir = $(datadir)/$(ICK_SPECIFIC_SUBDIR)
AM_CFLAGS = '-DICKINCLUDEDIR="$(ickincludedir)"' \
'-DICKDATADIR="$(ickdatadir)"' \
'-DICKBINDIR="$(bindir)"' '-DICKLIBDIR="$(libdir)"' \
- -DYYDEBUG -DICK_HAVE_STDINT_H=@HAVE_STDINT_H@ \
- -fno-toplevel-reorder
+ -DYYDEBUG -DICK_HAVE_STDINT_H=@HAVE_STDINT_H@
AM_CPPFLAGS = -I$(srcdir)/src
bin_PROGRAMS = ick convickt

View File

@ -1,11 +0,0 @@
--- src/perpet.c.orig 2015-04-02 06:04:02 UTC
+++ src/perpet.c
@@ -85,7 +85,7 @@ extern void yyrestart(FILE*);
/* function created by yacc */
extern int yyparse(void);
-int yydebug;
+extern int yydebug;
/* compilation options */
bool compile_only; /* just compile into C, don't run the linker */