summaryrefslogtreecommitdiff
path: root/devel/ruby-racc/raccversion.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-racc/raccversion.mk')
-rw-r--r--devel/ruby-racc/raccversion.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/ruby-racc/raccversion.mk b/devel/ruby-racc/raccversion.mk
new file mode 100644
index 00000000000..5749bd8a77e
--- /dev/null
+++ b/devel/ruby-racc/raccversion.mk
@@ -0,0 +1,16 @@
+# $NetBSD: raccversion.mk,v 1.1 2004/11/27 15:22:15 taca Exp $
+.ifndef _RUBY_RACCVERSION_MK
+
+_RUBY_RACCVERSION_MK= # defined
+
+.if ${RUBY_NAME} != "ruby${RUBY_VER_DEFAULT}"
+RACC?= racc-${RUBY_VER}
+RACC2Y?= racc2y-${RUBY_VER}
+Y2RACC?= y2racc-${RUBY_VER}
+.else
+RACC?= racc
+RACC2Y?= racc2y
+Y2RACC?= y2racc
+.endif
+
+.endif