diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2017-01-21 16:47:19 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2017-01-21 16:47:19 +0000 |
commit | 548ce829a9018d90a6d7e38146f24da32d322f47 (patch) | |
tree | 69387f6f3c0b943b22b2dd3eec48f1165a1e33d5 /x11-wm/afterstep/files/patch-configure.h | |
parent | - make portlint happier (diff) |
- fix a possible problem if PREFIX differs from LOCALBASE
Notes
Notes:
svn path=/head/; revision=432058
Diffstat (limited to 'x11-wm/afterstep/files/patch-configure.h')
-rw-r--r-- | x11-wm/afterstep/files/patch-configure.h | 81 |
1 files changed, 30 insertions, 51 deletions
diff --git a/x11-wm/afterstep/files/patch-configure.h b/x11-wm/afterstep/files/patch-configure.h index 600754d7e578..5936bdf9606f 100644 --- a/x11-wm/afterstep/files/patch-configure.h +++ b/x11-wm/afterstep/files/patch-configure.h @@ -1,51 +1,30 @@ -*** configure.h.orig Sun Mar 2 11:50:40 1997 ---- configure.h Thu Mar 20 21:31:42 1997 -*************** -*** 1,6 **** -! #define AFTERDIR "/usr/lib/X11/afterstep" -! #define AFTER_ICONDIR "/usr/include/X11/bitmaps:/usr/include/X11/pixmaps" -! #define STEPRC "/usr/lib/X11/afterstep/system.steprc" - - /* If you would like gradients, uncomment this */ - #define ENABLE_TEXTURE ---- 1,6 ---- -! #define AFTERDIR "%%PREFIX%%/lib/X11/afterstep" -! #define AFTER_ICONDIR "%%PREFIX%%/include/X11/bitmaps:%%PREFIX%%/include/X11/pixmaps" -! #define STEPRC "%%PREFIX%%/lib/X11/afterstep/system.steprc" - - /* If you would like gradients, uncomment this */ - #define ENABLE_TEXTURE -*************** -*** 17,23 **** - * Imake wants to leave binaries, then choose the second line here. - * If you want to install it in a different directory, uncomment and - * edit the first line */ -! #define AFTER_BIN_DIR BINDIR=/usr/bin/X11 - - /* Compiler over-ride for Imakefiles */ - /* Leave it as shown to get your default compiler */ ---- 17,23 ---- - * Imake wants to leave binaries, then choose the second line here. - * If you want to install it in a different directory, uncomment and - * edit the first line */ -! #define AFTER_BIN_DIR BINDIR=%%PREFIX%%/bin - - /* Compiler over-ride for Imakefiles */ - /* Leave it as shown to get your default compiler */ -*************** -*** 59,65 **** - ***************************************************************************/ - #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 M4 ---- 59,65 ---- - ***************************************************************************/ - #define XPM - /* linker flags needed to locate and link in the Xpm library, if you use it */ -! #define XPMLIBRARY -L%%PREFIX%%/lib -lXpm - - /*************************************************************************** - *#define M4 +--- configure.h.orig 1997-03-02 19:50:40 UTC ++++ configure.h +@@ -1,6 +1,6 @@ +-#define AFTERDIR "/usr/lib/X11/afterstep" +-#define AFTER_ICONDIR "/usr/include/X11/bitmaps:/usr/include/X11/pixmaps" +-#define STEPRC "/usr/lib/X11/afterstep/system.steprc" ++#define AFTERDIR "%%PREFIX%%/lib/X11/afterstep" ++#define AFTER_ICONDIR "%%PREFIX%%/include/X11/bitmaps:%%PREFIX%%/include/X11/pixmaps" ++#define STEPRC "%%PREFIX%%/lib/X11/afterstep/system.steprc" + + /* If you would like gradients, uncomment this */ + #define ENABLE_TEXTURE +@@ -17,7 +17,7 @@ + * Imake wants to leave binaries, then choose the second line here. + * If you want to install it in a different directory, uncomment and + * edit the first line */ +-#define AFTER_BIN_DIR BINDIR=/usr/bin/X11 ++#define AFTER_BIN_DIR BINDIR=%%PREFIX%%/bin + + /* Compiler over-ride for Imakefiles */ + /* Leave it as shown to get your default compiler */ +@@ -59,7 +59,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%%LOCALBASE%%/lib -lXpm + + /*************************************************************************** + *#define M4 |