summaryrefslogtreecommitdiff
path: root/wm/fvwm1/patches/patch-aa
blob: 1cd2f6badc76afa6a877df7bdf877c355b0852b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-aa,v 1.2 2001/10/14 13:47:18 tron Exp $

--- configure.h~	Mon Nov 28 13:08:47 1994
+++ configure.h	Mon Mar 16 21:44:31 1998
@@ -1,7 +1,7 @@
-#define FVWMDIR     "/usr/lib/X11/fvwm"
+#define FVWMDIR     "${PREFIX}/lib/X11/fvwm"
 /* #define FVWMDIR        "/local/homes/dsp/nation/modules"*/
-#define FVWM_ICONDIR   "/usr/include/X11/bitmaps:/usr/include/X11/pixmaps"
-#define FVWMRC         "/usr/lib/X11/fvwm/system.fvwmrc"
+#define FVWM_ICONDIR   "${PREFIX}/include/X11/bitmaps:${PREFIX}/include/X11/pixmaps"
+#define FVWMRC         "${PREFIX}/lib/X11/fvwm/system.fvwmrc"
 
 /* Imake command needed to put modules in desired target location */
 /* Use the second version if it causes grief */
@@ -14,8 +14,8 @@
  * If you want to install it in a different directory, uncomment and
  * edit the first line */
 /* #define FVWM_BIN_DIR BINDIR=/local/homes/dsp/nation/bin/4.1.3*/
-#define FVWM_BIN_DIR BINDIR=/usr/bin/X11
-/*#define FVWM_BIN_DIR*/
+/* #define FVWM_BIN_DIR BINDIR=/usr/bin/X11 */
+#define FVWM_BIN_DIR
 
 /* Compiler over-ride for Imakefiles */
 /* Leave it as shown to get your default compiler */
@@ -57,7 +57,7 @@
  ***************************************************************************/
 #define XPM                      
 /*  linker flags needed to locate and link in the Xpm library, if you use it */
-#define XPMLIBRARY -L/usr/lib/X11 -lXpm
+#define XPMLIBRARY -L${X11BASE}/lib -L${PREFIX}/lib -lXpm
 
 /***************************************************************************
  *#define M4