diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-10-15 06:25:21 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-10-15 06:25:21 +0000 |
commit | 955200299eac2d3fd31596ba1843dd2594a648ed (patch) | |
tree | ddfeb52358fdf361b723837ad85ca5da184a528e /dns/zonecheck | |
parent | Obtained from: Sean Lewis <sean@cherry.suspend.net> (diff) |
Only throw the error when RUBY_VER != RUBY_DEFAULT_VER.
Diffstat (limited to 'dns/zonecheck')
-rw-r--r-- | dns/zonecheck/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dns/zonecheck/Makefile b/dns/zonecheck/Makefile index 26d35639cf28..469c6c490fd6 100644 --- a/dns/zonecheck/Makefile +++ b/dns/zonecheck/Makefile @@ -15,8 +15,6 @@ EXTRACT_SUFX= .tgz MAINTAINER= janos.mohacsi@bsd.hu COMMENT= Perform consistency checks on DNS zone files -BROKEN= Broken dependency - RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk WRKSRC= ${WRKDIR}/${PORTNAME} @@ -26,4 +24,10 @@ NO_BUILD= yes RUBY_VER= 1.8 MAN1= zonecheck.1 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${RUBY_DEFAULT_VER} != ${RUBY_VER} +BROKEN= Broken dependency. This might be only a package building issue. The problem is that the default Ruby version for i386 is ${RUBY_DEFAULT_VER}, while the default version for the other architectures is ${RUBY_VER}. This port requires Ruby ${RUBY_VER}. If you are using the right Ruby version, please remove the BROKEN line from the Makefile and try again. +.endif + +.include <bsd.port.post.mk> |