summaryrefslogtreecommitdiff
path: root/misc/mc/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mc/patches/patch-ac')
-rw-r--r--misc/mc/patches/patch-ac29
1 files changed, 29 insertions, 0 deletions
diff --git a/misc/mc/patches/patch-ac b/misc/mc/patches/patch-ac
new file mode 100644
index 00000000000..9d273e374c7
--- /dev/null
+++ b/misc/mc/patches/patch-ac
@@ -0,0 +1,29 @@
+*** Make.common.in.orig Thu Jun 19 23:14:51 1997
+--- Make.common.in Thu Jun 19 23:16:28 1997
+*************** exec_prefix = $(prefix)
+*** 14,19 ****
+--- 14,20 ----
+ binprefix =
+ manprefix =
+ bindir = $(exec_prefix)/bin
++ sbindir = $(exec_prefix)/sbin
+ libdir = $(exec_prefix)/lib/mc
+ suppbindir = $(libdir)/bin
+ tidir = $(libdir)/term
+*************** AWK = @AWK@
+*** 45,51 ****
+ # No way, to make make happy (except GNU), we cannot use := to append
+ # something to these, so that's why there is a leading _
+ XCFLAGS = @CFLAGS@
+! XCPPFLAGS = @CPPFLAGS@ -I.. -DBINDIR=\""$(bindir)/"\" -DLIBDIR=\""$(libdir)/"\" -DICONDIR=\""$(icondir)/"\" $(XINC)
+ XLDFLAGS = @LDFLAGS@
+ XDEFS = @DEFS@
+ XLIBS = @LIBS@
+--- 46,52 ----
+ # No way, to make make happy (except GNU), we cannot use := to append
+ # something to these, so that's why there is a leading _
+ XCFLAGS = @CFLAGS@
+! XCPPFLAGS = @CPPFLAGS@ -I.. -DSBINDIR=\""$(sbindir)/"\" -DBINDIR=\""$(bindir)/"\" -DLIBDIR=\""$(libdir)/"\" -DICONDIR=\""$(icondir)/"\" $(XINC)
+ XLDFLAGS = @LDFLAGS@
+ XDEFS = @DEFS@
+ XLIBS = @LIBS@