Skip to content

Commit

Permalink
devel/ctypes.sh: Fix build on FreeBSD 13
Browse files Browse the repository at this point in the history
ChangeLog: taviso/ctypes.sh#57

While here change old WWW (not working)

PR:		265318
Reported by:	[email protected] (maintainer)
Approved by:	portmgr (maintainer timeout, ~1 month)
MFH:		2022Q3

(cherry picked from commit 2e73c35)
  • Loading branch information
clausecker authored and fernape committed Aug 17, 2022
1 parent 57207df commit 1a028d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions devel/ctypes.sh/Makefile
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -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>
2 changes: 1 addition & 1 deletion devel/ctypes.sh/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1a028d3

Please sign in to comment.