aboutsummaryrefslogtreecommitdiff
path: root/devel/libvirt/Makefile
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-07-02 04:21:05 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-07-02 04:21:05 +0000
commit3634919b311f9ace068835039e4b306423ebcc4e (patch)
tree59088a71ab4d5aad8969bc6938d0833d90e32b9e /devel/libvirt/Makefile
parentad2da2b257cb2adda1d4db51b4093e0a89fb0a1e (diff)
downloadports-3634919b311f9ace068835039e4b306423ebcc4e.tar.gz
ports-3634919b311f9ace068835039e4b306423ebcc4e.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
Notes
Notes: svn path=/head/; revision=322154
Diffstat (limited to 'devel/libvirt/Makefile')
-rw-r--r--devel/libvirt/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile
index 4f3245cc1cf1..ddd73589e1e7 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