summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoralnsn <alnsn>2014-05-03 13:57:33 +0000
committeralnsn <alnsn>2014-05-03 13:57:33 +0000
commitc40848d4b4517ca1ab5aa687c1cff0ac782def59 (patch)
treeb834d1e7d46628e6016f8952cc200004c1e807ed /lang
parent470b9b46c912b5d0509dda10f445c7e16c3ded59 (diff)
downloadpkgsrc-c40848d4b4517ca1ab5aa687c1cff0ac782def59.tar.gz
Add alternatives for Lua packages.
XXX It's not clear to me whether liblua5.x.so and liblua5.x.so.5.0.x should be in the list too. I wish alternatives framework was documented ...
Diffstat (limited to 'lang')
-rw-r--r--lang/lua51/ALTERNATIVES3
-rw-r--r--lang/lua52/ALTERNATIVES3
2 files changed, 6 insertions, 0 deletions
diff --git a/lang/lua51/ALTERNATIVES b/lang/lua51/ALTERNATIVES
new file mode 100644
index 00000000000..9a584e43d65
--- /dev/null
+++ b/lang/lua51/ALTERNATIVES
@@ -0,0 +1,3 @@
+bin/lua5.1 @PREFIX@/bin/lua
+bin/luac5.1 @PREFIX@/bin/luac
+lib/pkgconfig/lua-5.1.pc @PREFIX@/lib/pkgconfig/lua.pc
diff --git a/lang/lua52/ALTERNATIVES b/lang/lua52/ALTERNATIVES
new file mode 100644
index 00000000000..d37e432eabc
--- /dev/null
+++ b/lang/lua52/ALTERNATIVES
@@ -0,0 +1,3 @@
+bin/lua5.2 @PREFIX@/bin/lua
+bin/luac5.2 @PREFIX@/bin/luac
+lib/pkgconfig/lua-5.2.pc @PREFIX@/lib/pkgconfig/lua.pc