pkgsrc/wm/fvwm1/patches/patch-aa

35 lines
1.5 KiB
Text

$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