From 1a028d3fb4a778d1762010eaa4075e6a8b08f8e9 Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Wed, 17 Aug 2022 07:59:40 +0200 Subject: [PATCH] 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 5d1488321aebf..e712f5eff91c0 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 diff --git a/devel/ctypes.sh/pkg-descr b/devel/ctypes.sh/pkg-descr index 4a2ec1436d89f..62a75dff7b8f2 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