git: 7ccc120947de - main - lang/chicken: rename csc and csi to avoid conflicts with lang/mono
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Oct 2023 16:13:40 UTC
The branch main has been updated by gahr:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7ccc120947de7b60b032ef8c27a7f775a91ae7f8
commit 7ccc120947de7b60b032ef8c27a7f775a91ae7f8
Author: Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2023-10-26 15:50:17 +0000
Commit: Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2023-10-26 16:13:38 +0000
lang/chicken: rename csc and csi to avoid conflicts with lang/mono
This is in line with what several Linux distributions do.
PR: 274736
Rpoerted by: Paco Pascal <me@pacopascal.com>
---
lang/chicken/Makefile | 4 ++++
lang/chicken/pkg-plist | 8 ++++----
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/lang/chicken/Makefile b/lang/chicken/Makefile
index 27e896d193b9..00e322cb5459 100644
--- a/lang/chicken/Makefile
+++ b/lang/chicken/Makefile
@@ -1,5 +1,6 @@
PORTNAME= chicken
DISTVERSION= 5.3.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= lang scheme
MASTER_SITES= https://code.call-cc.org/releases/${DISTVERSION}/
@@ -20,6 +21,8 @@ MAKEFILE= GNUmakefile
MAKE_ARGS= C_COMPILER="${CC}" \
C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
CXX_COMPILER="${CXX}" \
+ CSC_PROGRAM=chicken-csc \
+ CSI_PROGRAM=chicken-csi \
DOCDIR="${DOCSDIR}" \
LIBDIR="${PREFIX}/lib" \
LIBRARIAN="${AR}" \
@@ -28,6 +31,7 @@ MAKE_ARGS= C_COMPILER="${CC}" \
PREFIX=${PREFIX}
TEST_TARGET= check
+TEST_ARGS= ${MAKE_ARGS} PROGRAM_PREFIX=chicken-
DATADIR= ${PREFIX}/share/chicken
DOCSDIR= ${PREFIX}/share/doc/chicken
diff --git a/lang/chicken/pkg-plist b/lang/chicken/pkg-plist
index dbee61e7025d..68f912ee9985 100644
--- a/lang/chicken/pkg-plist
+++ b/lang/chicken/pkg-plist
@@ -4,8 +4,8 @@ bin/chicken-install
bin/chicken-profile
bin/chicken-status
bin/chicken-uninstall
-bin/csc
-bin/csi
+bin/chicken-csc
+bin/chicken-csi
%%FEATHERS%%bin/feathers
include/chicken/chicken-config.h
include/chicken/chicken.h
@@ -62,8 +62,8 @@ man/man1/chicken-profile.1.gz
man/man1/chicken-status.1.gz
man/man1/chicken-uninstall.1.gz
man/man1/chicken.1.gz
-man/man1/csc.1.gz
-man/man1/csi.1.gz
+man/man1/chicken-csc.1.gz
+man/man1/chicken-csi.1.gz
%%FEATHERS%%man/man1/feathers.1.gz
%%FEATHERS%%%%DATADIR%%/feathers.tcl
%%DATADIR%%/setup.defaults