Module Name: src Committed By: cheusov Date: Wed May 2 13:35:04 UTC 2012
Modified Files: src/external/gpl2/lvm2/lib/liblvm: Makefile src/external/gpl2/lvm2/sbin/lvm: Makefile Log Message: Add .include <bsd.sys.mk> for initializing USE_SSP. This fixes build failure if USE_FORT=YES Approved by christos@ To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/gpl2/lvm2/lib/liblvm/Makefile cvs rdiff -u -r1.10 -r1.11 src/external/gpl2/lvm2/sbin/lvm/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl2/lvm2/lib/liblvm/Makefile diff -u src/external/gpl2/lvm2/lib/liblvm/Makefile:1.5 src/external/gpl2/lvm2/lib/liblvm/Makefile:1.6 --- src/external/gpl2/lvm2/lib/liblvm/Makefile:1.5 Thu May 26 12:56:26 2011 +++ src/external/gpl2/lvm2/lib/liblvm/Makefile Wed May 2 13:35:03 2012 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2011/05/26 12:56:26 joerg Exp $ +# $NetBSD: Makefile,v 1.6 2012/05/02 13:35:03 cheusov Exp $ LIBISPRIVATE= yes @@ -14,6 +14,9 @@ CWARNFLAGS+= -Wno-parentheses CPPFLAGS+= -I${LVM2_DISTDIR}/lib -I${LVM2_DISTDIR}/include \ -I. +.include <bsd.own.mk> +.include <bsd.sys.mk> # for USE_SSP + # Some parts of liblvm can't be protected because if its # alloca() usage. # Index: src/external/gpl2/lvm2/sbin/lvm/Makefile diff -u src/external/gpl2/lvm2/sbin/lvm/Makefile:1.10 src/external/gpl2/lvm2/sbin/lvm/Makefile:1.11 --- src/external/gpl2/lvm2/sbin/lvm/Makefile:1.10 Thu May 26 12:56:26 2011 +++ src/external/gpl2/lvm2/sbin/lvm/Makefile Wed May 2 13:35:04 2012 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2011/05/26 12:56:26 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2012/05/02 13:35:04 cheusov Exp $ USE_FORT?= no NOLINT= #defined @@ -30,6 +30,9 @@ CPPFLAGS+= -I${LVM2_DISTDIR}/lib -I${LVM CPPFLAGS+= -DLVM_SHARED_PATH=\"$(BINDIR)/lvm\" +.include <bsd.own.mk> +.include <bsd.sys.mk> # for USE_SSP + # Some parts of the code can't be protected because if its # alloca() usage. #