Index: Makefile =================================================================== RCS file: /home/pcvs/ports/textproc/libtre/Makefile,v retrieving revision 1.50 diff -d -u -u -r1.50 Makefile --- Makefile 2 Aug 2009 19:35:48 -0000 1.50 +++ Makefile 22 Nov 2009 20:43:35 -0000 @@ -33,6 +33,13 @@ .include +# Around the time GCC stack protection (aka Propolice) for userland +# was enabled on src/share/mk/bsd.sys.mk +# SVN rev 180012 on 2008-06-25 21:33:28Z by ru +.if ${OSVERSION} >= 800040 +LDFLAGS+= -fstack-protector +.endif + .if defined(WITH_NLS) USE_GETTEXT= yes PLIST_SUB+= NLS=""