diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2012-09-27 02:57:50 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2012-09-27 02:57:50 +0000 |
commit | 88c3facf6167c0dcbf68ed5185a9916cb5a95c5f (patch) | |
tree | 014fa8c04d898dfe050f07eb41fe8e2e42280461 /security | |
parent | 6c4fc737e4793dd6a79470a42760dc558fd0e4e5 (diff) | |
download | ports-88c3facf6167c0dcbf68ed5185a9916cb5a95c5f.tar.gz ports-88c3facf6167c0dcbf68ed5185a9916cb5a95c5f.zip |
Fix build on i386 by disabling hardening measures. This is a temporary
fix until I can figure out what is really going on.
Notes
Notes:
svn path=/head/; revision=304944
Diffstat (limited to 'security')
-rw-r--r-- | security/sudo/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile index 95bd1ca29491..fb4df6a664f6 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -20,7 +20,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept 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> |