1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

editors/asedit: Fix build with lvm15

- Adopt port
This commit is contained in:
Muhammad Moinur Rahman 2023-06-03 21:52:13 +02:00
parent 75ea65ec16
commit 7dd87c3dc4

View File

@ -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>