summary refs log tree commit diff
path: root/pkgs/tools/graphics/ploticus/set-prefabs-dir.patch
blob: 82871654fdeabecead24e8355f862da84f7cd870 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/pl.h
+++ b/src/pl.h
@@ -8,7 +8,7 @@
 #include <stdlib.h>
 #include "plg.h"
 
-#define PREFABS_DIR ""  	 /* INSTALLERS can set this to a valid pathname, so that users don't need to set PLOTICUS_PREFABS env var */
+#define PREFABS_DIR "@out@/share/ploticus/prefabs"  	 /* INSTALLERS can set this to a valid pathname, so that users don't need to set PLOTICUS_PREFABS env var */
 
 #define PLVERSION "2.42-May2013" /* see also the Copyright page, and page headers and footers */