diff options
author | Renato Botelho <garga@FreeBSD.org> | 2022-08-31 06:57:25 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2022-08-31 07:14:45 -0300 |
commit | 0f379164c78d57e213a306f6a26d06a5cb07019e (patch) | |
tree | d1f8dedf3319ad6a84fa64701cbcfa0c6794cab8 /archivers | |
parent | graphics/ImageMagick6: update to 6.9.12-62 (diff) |
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")
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/arj/Makefile | 5 |
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: |