Use _COMPILER_ABI_FLAG to call the compiler with proper ABI in VCC_CC.

Bump PKGREVISION.
This commit is contained in:
fhajny 2012-03-13 09:36:33 +00:00
parent f2a7676f4c
commit 6d66fe5c2a
2 changed files with 6 additions and 6 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.14 2012/03/03 00:14:07 wiz Exp $
# $NetBSD: Makefile,v 1.15 2012/03/13 09:36:33 fhajny Exp $
#
DISTNAME= varnish-3.0.2
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= www
MASTER_SITES= http://repo.varnish-cache.org/source/
@ -51,9 +51,9 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.5:../../textproc/py-docutils
.if ${OPSYS} == "SunOS"
. if ${PKGSRC_COMPILER} == "sunpro"
CONFIGURE_ENV+= VCC="cc -Kpic -G -o %o %s"
CONFIGURE_ENV+= VCC_CC="cc ${_COMPILER_ABI_FLAG.${ABI}} -Kpic -G -o %o %s"
. else
CONFIGURE_ENV+= VCC_CC="gcc -fpic -shared -o %o %s"
CONFIGURE_ENV+= VCC_CC="gcc ${_COMPILER_ABI_FLAG.${ABI}} -fpic -shared -o %o %s"
. endif
.endif

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.7 2011/11/12 20:40:16 mspo Exp $
@comment $NetBSD: PLIST,v 1.8 2012/03/13 09:36:33 fhajny Exp $
bin/varnishadm
bin/varnishhist
bin/varnishlog
@ -35,8 +35,8 @@ man/man1/varnishtest.1
man/man1/varnishtop.1
man/man3/vmod_std.3
man/man7/varnish-cli.7
man/man7/vcl.7
man/man7/varnish-counters.7
man/man7/vcl.7
sbin/varnishd
share/examples/rc.d/varnishd
share/examples/rc.d/varnishlog