git: 1a028d3fb4a7 - 2022Q3 - devel/ctypes.sh: Fix build on FreeBSD 13
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Aug 2022 16:21:53 UTC
The branch 2022Q3 has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1a028d3fb4a778d1762010eaa4075e6a8b08f8e9
commit 1a028d3fb4a778d1762010eaa4075e6a8b08f8e9
Author: Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-08-17 05:59:40 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-08-17 16:18:47 +0000
devel/ctypes.sh: Fix build on FreeBSD 13
ChangeLog: https://github.com/taviso/ctypes.sh/issues/57
While here change old WWW (not working)
PR: 265318
Reported by: fuz@fuz.su (maintainer)
Approved by: portmgr (maintainer timeout, ~1 month)
MFH: 2022Q3
(cherry picked from commit 2e73c354895691d93cee78b2efe81e5b260f637e)
---
devel/ctypes.sh/Makefile | 9 ++++++---
devel/ctypes.sh/pkg-descr | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/devel/ctypes.sh/Makefile b/devel/ctypes.sh/Makefile
index 5d1488321aeb..e712f5eff91c 100644
--- a/devel/ctypes.sh/Makefile
+++ b/devel/ctypes.sh/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ctypes.sh
PORTVERSION= 1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= https://github.com/taviso/${PORTNAME}/releases/download/v${PORTVERSION}/
DISTNAME= ctypes-sh-${PORTVERSION}
@@ -12,13 +12,16 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:shells/bash
-RUN_DEPENDS= bash:shells/bash
LIB_DEPENDS= libffi.so:devel/libffi
+RUN_DEPENDS= bash:shells/bash
-USES= libtool pkgconfig
+USES= autoreconf libtool pkgconfig
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
PLIST_FILES= bin/ctypes.sh lib/ctypes.so
+pre-patch:
+ ${RM} ${WRKSRC}/include/config.h
+
.include <bsd.port.mk>
diff --git a/devel/ctypes.sh/pkg-descr b/devel/ctypes.sh/pkg-descr
index 4a2ec1436d89..62a75dff7b8f 100644
--- a/devel/ctypes.sh/pkg-descr
+++ b/devel/ctypes.sh/pkg-descr
@@ -2,4 +2,4 @@ ctypes.sh is a bash plugin that provides a foreign function interface directly
in your shell. In other words, it allows you to call routines in shared
libraries from within bash.
-WWW: http://ctypes.sh
+WWW: https://github.com/taviso/ctypes.sh