aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2021-12-14 23:03:20 +0000
committerMatthias Andree <mandree@FreeBSD.org>2021-12-15 00:26:28 +0000
commit8e6ae6036714dc541ce5b31aad23bf568e422710 (patch)
tree54c1d2bb80f91c44262af43a1e5650cb814bc6d8
parent4b3fa9ae55975e0a94dca040136b526887cdc810 (diff)
downloadports-8e6ae6036714dc541ce5b31aad23bf568e422710.tar.gz
ports-8e6ae6036714dc541ce5b31aad23bf568e422710.zip
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)
-rw-r--r--devel/e2fsprogs-libss/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/e2fsprogs-libss/Makefile b/devel/e2fsprogs-libss/Makefile
index e0a610d8bfbd..12d7d2a268bc 100644
--- a/devel/e2fsprogs-libss/Makefile
+++ b/devel/e2fsprogs-libss/Makefile
@@ -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"