aboutsummaryrefslogtreecommitdiffstats
path: root/net/pecl-yaz
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2011-03-24 00:45:30 +0800
committerpawel <pawel@FreeBSD.org>2011-03-24 00:45:30 +0800
commit87366f6b0dc48247bc7d8a75685a7f89719968f4 (patch)
tree2d5f96d5b11cc3f8f26ed7dfa88984c6092d0a27 /net/pecl-yaz
parent9037e95445b29592302d3292ce0b61bc4fdd0943 (diff)
downloadfreebsd-ports-gnome-87366f6b0dc48247bc7d8a75685a7f89719968f4.tar.gz
freebsd-ports-gnome-87366f6b0dc48247bc7d8a75685a7f89719968f4.tar.zst
freebsd-ports-gnome-87366f6b0dc48247bc7d8a75685a7f89719968f4.zip
- Fix build after net/yaz update
Approved by: miwi, wen (mentors)
Diffstat (limited to 'net/pecl-yaz')
-rw-r--r--net/pecl-yaz/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/pecl-yaz/Makefile b/net/pecl-yaz/Makefile
index 8ec8044e8df9..07d197aaf230 100644
--- a/net/pecl-yaz/Makefile
+++ b/net/pecl-yaz/Makefile
@@ -24,7 +24,11 @@ USE_PHPEXT= yes
CONFIGURE_ARGS= --with-yaz=${LOCALBASE}
+.include <bsd.port.pre.mk>
+
pre-configure:
- @${REINPLACE_CMD} -e 's|YAZVERSION|YAZ_VERSION|g' ${WRKSRC}/configure
+ @if [ `${PKG_INFO} 'yaz>=4.1.4' > /dev/null 2>&1` ]; then \
+ ${REINPLACE_CMD} -e 's|YAZVERSION|YAZ_VERSION|g' \
+ ${WRKSRC}/configure; fi
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>