Robert Clausecker e56c6c0880 textproc/xml-format: correct errno usage
extern int errno; is incorrect these days.  Include <errno.h>
for the correct behaviour.  This fixes the build on some configurations.

Approved by:	portmgr (build fix blanket)
2025-02-11 14:26:14 +01:00

23 lines
427 B
Makefile

PORTNAME= xml-format
DISTVERSION= 0.2.0-3
DISTVERSIONSUFFIX= -g4448d89
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= jwb@FreeBSD.org
COMMENT= XML beautifier
WWW= https://github.com/outpaddling/xml-format
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS+= libxtend.so:devel/libxtend
USE_GITHUB= yes
GH_ACCOUNT= outpaddling
MAKE_ENV+= DATADIR=${DATADIR} MANPREFIX=${PREFIX}/share
.include <bsd.port.mk>