diff options
author | adam <adam@pkgsrc.org> | 2021-03-02 09:41:56 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-03-02 09:41:56 +0000 |
commit | b4a1f2ca3dee5ad50204504131ef1686beac8ca3 (patch) | |
tree | 21578b5a9df2135b976498560608f50bc3063d24 /graphics/osg/patches | |
parent | a83859083e14e76c34d7996720604e937b67e2c9 (diff) | |
download | pkgsrc-b4a1f2ca3dee5ad50204504131ef1686beac8ca3.tar.gz |
osg: fix buidling on Darwin; fix finding Lua52
Diffstat (limited to 'graphics/osg/patches')
-rw-r--r-- | graphics/osg/patches/patch-CMakeModules_FindLua52.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/osg/patches/patch-CMakeModules_FindLua52.cmake b/graphics/osg/patches/patch-CMakeModules_FindLua52.cmake new file mode 100644 index 00000000000..52c991cc667 --- /dev/null +++ b/graphics/osg/patches/patch-CMakeModules_FindLua52.cmake @@ -0,0 +1,15 @@ +$NetBSD: patch-CMakeModules_FindLua52.cmake,v 1.1 2021/03/02 09:41:56 adam Exp $ + +Find Lua from PkgSrc. + +--- CMakeModules/FindLua52.cmake.orig 2021-03-02 08:52:23.000000000 +0000 ++++ CMakeModules/FindLua52.cmake +@@ -28,7 +28,7 @@ + find_path(LUA_INCLUDE_DIR lua.h + HINTS + ENV LUA_DIR +- PATH_SUFFIXES include/lua52 include/lua5.2 include/lua include ++ PATH_SUFFIXES include/lua52 include/lua5.2 include/lua-5.2 include/lua include + PATHS + ~/Library/Frameworks + /Library/Frameworks |