aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-07-02 12:21:05 +0800
committerjgh <jgh@FreeBSD.org>2013-07-02 12:21:05 +0800
commitdb946582d4bd518422a08f55c5929d2174648ddb (patch)
tree59088a71ab4d5aad8969bc6938d0833d90e32b9e /devel
parenta7a684392ed4df1ab6e2610e26c5140fb57f1bdb (diff)
downloadfreebsd-ports-graphics-db946582d4bd518422a08f55c5929d2174648ddb.tar.gz
freebsd-ports-graphics-db946582d4bd518422a08f55c5929d2174648ddb.tar.zst
freebsd-ports-graphics-db946582d4bd518422a08f55c5929d2174648ddb.zip
- -fstack-protector is in CFLAGS, but not in LDFLAGS.  The compiler run
inserts references to __stack_chk* symbols, but the linker run later does not resolve them. add -fstack-protector to LDFLAGS bump portrevision Submitted by: mandree@ and others
Diffstat (limited to 'devel')
-rw-r--r--devel/libvirt/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile
index 4f3245cc1cf..ddd73589e1e 100644
--- a/devel/libvirt/Makefile
+++ b/devel/libvirt/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libvirt
PORTVERSION= 1.0.6
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://libvirt.org/sources/ \
ftp://libvirt.org/libvirt/
@@ -37,7 +38,7 @@ CONFIGURE_ARGS= --without-sasl \
#limit to non-stable release x.x.x
PORTSCOUT= limit:\d+\.\d+\.\d+$$
-LDFLAGS+= -L${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib -fstack-protector
USES= charsetfix pathfix
USE_GMAKE= yes