git: 7dd87c3dc442 - main - editors/asedit: Fix build with lvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 19:59:38 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7dd87c3dc442b82c8b00277d384bceb671cb861a
commit 7dd87c3dc442b82c8b00277d384bceb671cb861a
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-03 19:52:13 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-03 19:59:25 +0000
editors/asedit: Fix build with lvm15
- Adopt port
---
editors/asedit/Makefile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/editors/asedit/Makefile b/editors/asedit/Makefile
index 69864e77c78f..9b02d55f2b3e 100644
--- a/editors/asedit/Makefile
+++ b/editors/asedit/Makefile
@@ -4,7 +4,7 @@ PORTREVISION= 5
CATEGORIES= editors
MASTER_SITES= XCONTRIB/editors
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bofh@FreeBSD.org
COMMENT= Text editor for X/Motif
USES= imake:notall motif tar:Z xorg
@@ -19,9 +19,15 @@ PLIST_FILES= bin/asedit \
lib/X11/asedit_em.hlp \
man/man1/asedit.1.gz
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
'/^XMLIB/s|-lPW|| ; \
/^DEFINES/s|-O ||' ${WRKSRC}/Imakefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>