aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-12-06 23:16:17 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-12-06 23:16:17 +0000
commit3835ca6feb11eb42931a42d81e013bdc04301aaa (patch)
tree940e9afeb7877a024b5759c0c9095bc1bdddfca0 /x11
parentd7f9d7ead4ed8fdf47e866b3bf4bfc9342a7e05b (diff)
downloadports-3835ca6feb11eb42931a42d81e013bdc04301aaa.tar.gz
ports-3835ca6feb11eb42931a42d81e013bdc04301aaa.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/yelp/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile
index 8cc59f283fae..f5cb943c91db 100644
--- a/x11/yelp/Makefile
+++ b/x11/yelp/Makefile
@@ -29,14 +29,23 @@ USE_GNOME= gnomeprefix gnomehack intlhack gconf2 gnomedocutils
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-gecko=${GECKO} \
--with-gecko-home=${LOCALBASE}/lib/${GECKO}
MAKE_ENV= G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias"
GCONF_SCHEMAS= yelp.schemas
+.include <bsd.port.pre.mk>
+
+# 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
+
post-extract:
${RM} -f ${WRKSRC}/data/yelp.schemas
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>