1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/x11-wm/afterstep/files/patch-aa
Satoshi Asami a3a73aa969 Change AFTERDIR from ${PREFIX}/lib/afterstep to .../lib/X11/afterstep.
It's quite amazing it seems to have totally ignored the STEPRC
definition just two lines below!

Now this port packages fine.
1996-08-17 11:01:16 +00:00

31 lines
1.3 KiB
Plaintext

--- configure.h.orig Sat Aug 17 00:50:55 1996
+++ configure.h Sat Aug 17 00:53:36 1996
@@ -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
@@ -15,7 +15,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 */
@@ -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 -lm
+#define XPMLIBRARY -L@@PREFIX@@/lib -lXpm -lm
/***************************************************************************
*#define M4