Files
pkgsrc-ng/misc/vym/patches/patch-main.cpp
2013-09-26 17:14:40 +02:00

14 lines
433 B
C++

$NetBSD: patch-main.cpp,v 1.1 2013/01/03 15:44:19 ryoon Exp $
--- main.cpp.orig 2012-07-04 13:28:11.000000000 +0000
+++ main.cpp
@@ -251,7 +251,7 @@ int main(int argc, char* argv[])
vymBaseDir.setPath(basePath + "/share/vym");
#else
- vymBaseDir.setPath ("/usr/share/vym");
+ vymBaseDir.setPath ("@PREFIX@/share/vym");
if (!vymBaseDir.exists())
{
vymBaseDir.setPath ("/usr/local/share/vym");