mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
Unbreak build on FreeBSD 9.x amd64.
(Marked broken since r424405.) Punch out the -pie used during link, which fixes linker errors. (I'd tried setting -fPIE in CXXFLAGS before, which turned out not to solve the problem - I won't dig deeper now less than eight weeks before 9.x goes unsupported.) PR: 214331 (related) Approved by: portmgr blanket (just fix it)
This commit is contained in:
parent
39139d4e77
commit
5540c8ef6e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425877
@ -17,8 +17,6 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||
LIB_DEPENDS= libprotobuf.so:devel/protobuf
|
||||
RUN_DEPENDS= tor:security/tor
|
||||
|
||||
BROKEN_FreeBSD_9_amd64= does not build
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ricochet-im
|
||||
|
||||
@ -32,8 +30,14 @@ PLIST_FILES= bin/ricochet \
|
||||
share/icons/hicolor/48x48/apps/ricochet.png \
|
||||
share/icons/hicolor/scalable/apps/ricochet.svg
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E 's| -fsanitize=[a-z-]+| |g' \
|
||||
${WRKSRC}/hardened.pri
|
||||
.if ${ARCH} == amd64 && ${OSREL:R} == 9
|
||||
@${REINPLACE_CMD} -E 's| -pie| |g' \
|
||||
${WRKSRC}/hardened.pri
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user