aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@fuz.su>2022-08-17 05:59:40 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-08-17 16:16:10 +0000
commit2e73c354895691d93cee78b2efe81e5b260f637e (patch)
treec8af0c441f07102ee896eb95a1cfe1c016d1a16e
parent6cbaf63a28fe62c5bd2d0efddf46397c1093c574 (diff)
downloadports-2e73c354895691d93cee78b2efe81e5b260f637e.tar.gz
ports-2e73c354895691d93cee78b2efe81e5b260f637e.zip
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
-rw-r--r--devel/ctypes.sh/Makefile9
-rw-r--r--devel/ctypes.sh/pkg-descr2
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