1
0
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:
Koop Mast 2014-11-25 20:49:21 +00:00
parent 07995f4052
commit f663cce1eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373430

View File

@ -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>