diff options
author | taca <taca@pkgsrc.org> | 2013-12-29 12:10:45 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2013-12-29 12:10:45 +0000 |
commit | a4d2a613613c18257e72354de16904b31e8ff740 (patch) | |
tree | c0fe2258d4c5c95c253d376bbf6ebe4c31117f92 /www/squid3 | |
parent | eabff8cacfcb3f40bac7aa0534e42c546d606d40 (diff) | |
download | pkgsrc-a4d2a613613c18257e72354de16904b31e8ff740.tar.gz |
Explicitly disable CPU optimized instruction. (--enable-arch-native is
default.) Enabling CPU optimized instruction gains some performance, but
it lost portability of the binary package.
Bump PKGREVISION.
Diffstat (limited to 'www/squid3')
-rw-r--r-- | www/squid3/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/www/squid3/Makefile b/www/squid3/Makefile index d736bace459..a8545f88fa4 100644 --- a/www/squid3/Makefile +++ b/www/squid3/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.23 2013/12/28 19:50:34 hauke Exp $ +# $NetBSD: Makefile,v 1.24 2013/12/29 12:10:45 taca Exp $ DISTNAME= squid-3.4.1 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= www MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PKGVERSION_NOREV:R}/ \ ftp://ftp.squid-cache.org/pub/squid/ \ @@ -32,6 +32,9 @@ CONFIGURE_ARGS+= --with-aio CONFIGURE_ARGS+= --with-default-user=${SQUID_USER} CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid +# Explicitly disable using CPU optimized instruction +CONFIGURE_ARGS+= --disable-arch-native + BUILD_DEFS+= VARBASE MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} MAKE_ENV+= PKG_PREFIX=${PREFIX} VARBASE=${VARBASE} |