git: e52e44fc0c27 - main - devel/rlwrap: fix rl_message() build error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Oct 2024 14:13:02 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e52e44fc0c271a1250991d648867319db93cb605
commit e52e44fc0c271a1250991d648867319db93cb605
Author: Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2024-10-07 14:10:19 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-10-07 14:12:34 +0000
devel/rlwrap: fix rl_message() build error
Should define HAVE_STDARG_H and as a temporary fix add it to CFLAGS.
While I'm here, remove GNU_CONFIGURE_MANPREFIX and unneeded
python_OLD_CMD (declared already).
PR: 281920
Approved by: portmgr (blanket)
---
devel/rlwrap/Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/devel/rlwrap/Makefile b/devel/rlwrap/Makefile
index 036291850686..c530e6fda9e3 100644
--- a/devel/rlwrap/Makefile
+++ b/devel/rlwrap/Makefile
@@ -1,6 +1,6 @@
PORTNAME= rlwrap
DISTVERSION= 0.45.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= https://github.com/hanslub42/rlwrap/releases/download/v${DISTVERSION}/
@@ -13,14 +13,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf python readline shebangfix
PYTHON_NO_DEPENDS= yes
-SHEBANG_GLOB= *.py
SHEBANG_FILES= filters/dissect_prompt \
filters/handle_sigwinch \
filters/makefilter
-python_OLD_CMD= "/usr/bin/env python3"
+SHEBANG_GLOB= *.py
GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+CFLAGS+= -DHAVE_STDARG_H
PORTDOCS= AUTHORS BUGS NEWS README