summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep1/files/patch-configure.h
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2024-07-15 14:02:19 +0200
committerDirk Meyer <dinoex@FreeBSD.org>2024-07-15 14:02:19 +0200
commit90a34e05a8136060f3f2ffc10b6b054115ad2746 (patch)
tree76098504cecec5a0eaf178fa6443359327237a26 /x11-wm/afterstep1/files/patch-configure.h
parentx11-wm/afterstep: fix distinfo (diff)
x11-wm/afterstep: move to x11-wm/afterstep1
Diffstat (limited to 'x11-wm/afterstep1/files/patch-configure.h')
-rw-r--r--x11-wm/afterstep1/files/patch-configure.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/x11-wm/afterstep1/files/patch-configure.h b/x11-wm/afterstep1/files/patch-configure.h
new file mode 100644
index 000000000000..5936bdf9606f
--- /dev/null
+++ b/x11-wm/afterstep1/files/patch-configure.h
@@ -0,0 +1,30 @@
+--- 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