- Fix build with net/yaz

PR:		156367
Approved by:	maintainer timeout
This commit is contained in:
Martin Wilke 2011-06-25 07:11:34 +00:00
parent 542092a19f
commit 95e7c5dd95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276317

View file

@ -7,7 +7,7 @@
PORTNAME= yaz
PORTVERSION= 1.0.14
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@ -27,7 +27,7 @@ CONFIGURE_ARGS= --with-yaz=${LOCALBASE}
.include <bsd.port.pre.mk>
pre-configure:
@if [ `${PKG_INFO} 'yaz>=4.1.4' > /dev/null 2>&1` ]; then \
@if [ `${PKG_INFO} 'yaz>=4.1.6' > /dev/null 2>&1` ]; then \
${REINPLACE_CMD} -e 's|YAZVERSION|YAZ_VERSION|g' \
${WRKSRC}/configure; fi