devel/e2fsprogs-libss: use local compile_et,

in order to avoid build failures when Kerberos support is missing.

PR:		254751
Reported by:	Felix Palmen
Approved by:	maintainer timeout (kaduk-fbsd@mit.edu, 6 months)
This commit is contained in:
Matthias Andree 2021-12-15 00:03:20 +01:00
parent 4b3fa9ae55
commit 8e6ae60367

View file

@ -1,6 +1,6 @@
# Created by: Ben Kaduk <kaduk@mit.edu>
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= devel
PKGNAMESUFFIX= -libss
@ -22,7 +22,12 @@ FILESDIR= ${.CURDIR}/files
PKGDIR= ${.CURDIR}
pre-build:
(cd ${WRKSRC}/lib/ss && compile_et ss_err.et && \
(cd ${WRKSRC}/lib/et && ${DO_MAKE_BUILD} compile_et )
(cd ${WRKSRC}/lib/ss && _ET_DIR_OVERRIDE=../et ../et/compile_et ss_err.et && \
${REINPLACE_CMD} -f ${FILESDIR}/fix-ss_err.h.sed ss_err.h)
do-test:
(cd ${WRKSRC}/lib/et && ${DO_MAKE_BUILD} all check )
(cd ${WRKSRC}/lib/ss && ${DO_MAKE_BUILD} check )
.include "${MASTERDIR}/Makefile"