aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-15 06:25:21 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-15 06:25:21 +0000
commit955200299eac2d3fd31596ba1843dd2594a648ed (patch)
treeddfeb52358fdf361b723837ad85ca5da184a528e /dns
parent204b9a332fc69cbe727f38dab33b8c9f2c914766 (diff)
downloadports-955200299eac2d3fd31596ba1843dd2594a648ed.tar.gz
ports-955200299eac2d3fd31596ba1843dd2594a648ed.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/zonecheck/Makefile10
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>