aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2022-08-31 09:57:25 +0000
committerRenato Botelho <garga@FreeBSD.org>2022-08-31 10:14:45 +0000
commit0f379164c78d57e213a306f6a26d06a5cb07019e (patch)
treed1f8dedf3319ad6a84fa64701cbcfa0c6794cab8
parenta97c424889dc04ce0da1f90ca46426b8aa4e4794 (diff)
downloadports-0f379164c78d57e213a306f6a26d06a5cb07019e.tar.gz
ports-0f379164c78d57e213a306f6a26d06a5cb07019e.zip
archivers/arj: Fix build inside ezjail
For yet unclear reason this port was failing to build inside a jail built using ezjail. It ended up producing a broken msgbind binary that crashes early with 'Abort trap' message. ezjail built jail uses lots of symlinks pointing to a nullfs mounted partition and this combination seems to be the cause of this issue. After many tests jsm@ figured out that removing LD_STRIP definition from gnu/configure script solves the case. There is still something wrong, maybe on nullfs code, that should be investigated, but at least it fixes this port build. PR: 235636 Reported by: Peter Putzer <freebsd@mnd.sc> Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r--archivers/arj/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile
index c552ddc316df..2b80eeec1840 100644
--- a/archivers/arj/Makefile
+++ b/archivers/arj/Makefile
@@ -1,6 +1,6 @@
PORTNAME= arj
PORTVERSION= 3.10.22
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= archivers
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.78_3.10%20build%2022:source \
DEBIAN_POOL:patch
@@ -58,7 +58,8 @@ post-patch:
@${REINPLACE_CMD} -e 's!/etc!${LOCALBASE}/etc!' \
${WRKSRC}/arj.c ${WRKSRC}/file_reg.c ${WRKSRC}/rearj.c
@${REINPLACE_CMD} -e 's!-O2!!' -e 's!ALIGN_POINTERS!&,1,desc!' \
- -e 's!USE_COLORS!&,1,desc!' ${WRKSRC}/gnu/configure.in
+ -e 's!USE_COLORS!&,1,desc!' -e '/LD_STRIP=/d' \
+ ${WRKSRC}/gnu/configure.in
@${REINPLACE_CMD} -e 's!^static !!' ${WRKSRC}/integr.c
post-install: