diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-03 19:52:13 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-03 19:59:25 +0000 |
commit | 7dd87c3dc442b82c8b00277d384bceb671cb861a (patch) | |
tree | 905ff51edf878833a1b762143f24489aaba1dfb8 | |
parent | 75ea65ec16edf992f78f4a367f56b4b9ce586bc1 (diff) | |
download | ports-7dd87c3dc442b82c8b00277d384bceb671cb861a.tar.gz ports-7dd87c3dc442b82c8b00277d384bceb671cb861a.zip |
editors/asedit: Fix build with lvm15
- Adopt port
-rw-r--r-- | editors/asedit/Makefile | 10 |
1 files 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> |