Set WRKSRC a bit safer. Fixes build with PHP_VERSION_DEFAULT=53.

This commit is contained in:
fhajny 2015-02-08 21:18:56 +00:00
parent 9e2e8b3dd7
commit 06d85c13d9

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2014/12/03 21:49:20 rodent Exp $ # $NetBSD: Makefile,v 1.8 2015/02/08 21:18:56 fhajny Exp $
# #
MODNAME= redis MODNAME= redis
@ -14,7 +14,7 @@ HOMEPAGE= https://github.com/nicolasff/phpredis
COMMENT= PHP extension for Redis COMMENT= PHP extension for Redis
LICENSE= php LICENSE= php
WRKSRC= ${WRKDIR}/phpredis-${PKGVERSION_NOREV} WRKSRC= ${WRKDIR}/phpredis-${PECL_VERSION}
.include "../../mk/compiler.mk" .include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang) .if !empty(PKGSRC_COMPILER:Mclang)