Date: Thu, 27 Sep 2012 02:57:50 +0000 (UTC) From: Wesley Shields <wxs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r304944 - head/security/sudo Message-ID: <201209270257.q8R2voKb039335@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wxs Date: Thu Sep 27 02:57:50 2012 New Revision: 304944 URL: http://svn.freebsd.org/changeset/ports/304944 Log: Fix build on i386 by disabling hardening measures. This is a temporary fix until I can figure out what is really going on. Modified: head/security/sudo/Makefile Modified: head/security/sudo/Makefile ============================================================================== --- head/security/sudo/Makefile Thu Sep 27 02:48:53 2012 (r304943) +++ head/security/sudo/Makefile Thu Sep 27 02:57:50 2012 (r304944) @@ -20,7 +20,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg MAKE_JOBS_SAFE= yes GNU_CONFIGURE= yes -LDFLAGS+= -lgcc +LDFLAGS+= -lgcc CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-ignore-dot \ @@ -99,6 +99,14 @@ CONFIGURE_ARGS+=--with-bsm-audit CONFIGURE_ARGS+=--with-opie .endif +.include <bsd.port.pre.mk> + +# Temporary workaround until I can figure out why the build fails on i386. +# You can add --stack-protector to LDFLAGS but that doesn't work with clang. +.if ${ARCH} == "i386" +CONFIGURE_ARGS+= --disable-hardening +.endif + MAN5+= sudoers.5 MAN8= sudo.8 visudo.8 sudoreplay.8 sudo_plugin.8 MLINKS= sudo.8 sudoedit.8 @@ -126,4 +134,4 @@ post-install: fi ${TOUCH} ${PREFIX}/etc/sudoers.d/.keep-me -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209270257.q8R2voKb039335>