summaryrefslogtreecommitdiff
path: root/sysutils/libchk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/libchk/Makefile')
-rw-r--r--sysutils/libchk/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysutils/libchk/Makefile b/sysutils/libchk/Makefile
index 7aa2bbea6d5f..6f5351824e3e 100644
--- a/sysutils/libchk/Makefile
+++ b/sysutils/libchk/Makefile
@@ -16,16 +16,11 @@ MAINTAINER= knu@FreeBSD.org
USE_BZIP2= yes
USE_RUBY= yes
+USE_RUBY_FEATURES= optparse
MAKE_ARGS= PREFIX="${PREFIX}"
MAN1= libchk.1
MANCOMPRESSED= maybe
-.include <bsd.port.pre.mk>
-
-.if ${RUBY_VER} < 1.7
-RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/lang/ruby16-shim-ruby18
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>