mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Make sure vte doesn't enabled stack-protector on it own on i386 when
OSVERSION < 1000036 (taken from bsd.ssp.mk). Else it fails to build with: libvte-2.91.so: undefined reference to `__stack_chk_fail_local'. PR: 195267 Submitted by: bar@
This commit is contained in:
parent
07995f4052
commit
f663cce1eb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373430
@ -49,11 +49,17 @@ PLIST_SUB= VERSION=2.91
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gnome-pty-helper_gnome-utmp.c
|
||||
.endif
|
||||
|
||||
.if ${VTE3_SLAVE} != yes
|
||||
post-patch:
|
||||
.if ${VTE3_SLAVE} != yes
|
||||
@${REINPLACE_CMD} -e 's|-Wno-unused-but-set-variable||g' \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
.endif
|
||||
# borrowed osversion from bsd.ssp.mk
|
||||
.if ${OSVERSION} < 1000036 && ${ARCH} == i386
|
||||
@${REINPLACE_CMD} -e 's|-fstack-protector-strong||g; \
|
||||
s|-fstack-protector||g' \
|
||||
${WRKSRC}/configure
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user