summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep-i18n/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/afterstep-i18n/files/patch-aa')
-rw-r--r--x11-wm/afterstep-i18n/files/patch-aa39
1 files changed, 39 insertions, 0 deletions
diff --git a/x11-wm/afterstep-i18n/files/patch-aa b/x11-wm/afterstep-i18n/files/patch-aa
new file mode 100644
index 000000000000..06541872cfdb
--- /dev/null
+++ b/x11-wm/afterstep-i18n/files/patch-aa
@@ -0,0 +1,39 @@
+--- configure.h.orig Sun Sep 6 14:29:37 1998
++++ configure.h Sun Sep 6 14:29:43 1998
+@@ -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%%PREFIX%%/lib -lXpm
+
+ /***************************************************************************
+ *#define I18N
+@@ -68,7 +68,7 @@
+ * and Menu. you have to set the locale appropriately before
+ * you start the window manager.
+ ***************************************************************************/
+-/* #define I18N */
++#define I18N
+
+
+ /***************************************************************************