diff options
author | obache <obache@pkgsrc.org> | 2013-03-19 01:43:05 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-03-19 01:43:05 +0000 |
commit | 44b6bf7320f32e974780f79cbfa4e27a460c7b90 (patch) | |
tree | 8752063847b311328fffa02a387b7758634e2aa4 /www/squid3 | |
parent | b154ae06d96909ed8bef28ed25055c95b733dff9 (diff) | |
download | pkgsrc-44b6bf7320f32e974780f79cbfa4e27a460c7b90.tar.gz |
Fixes build on NetBSD-5.2-i386, i486 features are required.
Diffstat (limited to 'www/squid3')
-rw-r--r-- | www/squid3/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/www/squid3/Makefile b/www/squid3/Makefile index d9a6eda5ca6..5fbb8fc73c8 100644 --- a/www/squid3/Makefile +++ b/www/squid3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2013/03/13 17:11:25 taca Exp $ +# $NetBSD: Makefile,v 1.6 2013/03/19 01:43:05 obache Exp $ DISTNAME= squid-3.3.3 PKGREVISION= 1 @@ -33,6 +33,11 @@ SQUID_BACKENDS?= ufs SQUID_NTLM_AUTH_HELPERS?= fakeauth .include "options.mk" +.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5]*-i386) +GNU_ARCH.i386= i486 +CFLAGS+= -march=i486 +.endif + post-build: cd ${WRKSRC}/src && ${CP} -pf squid.conf.documented squid.conf.default |