aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mc-light/files/patch-Make.common.in
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mc-light/files/patch-Make.common.in')
-rw-r--r--misc/mc-light/files/patch-Make.common.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/misc/mc-light/files/patch-Make.common.in b/misc/mc-light/files/patch-Make.common.in
new file mode 100644
index 000000000000..0af995d89d25
--- /dev/null
+++ b/misc/mc-light/files/patch-Make.common.in
@@ -0,0 +1,30 @@
+
+$FreeBSD$
+
+--- Make.common.in.orig Sun Aug 22 15:03:08 2004
++++ Make.common.in Fri Sep 3 14:37:46 2004
+@@ -18,11 +18,11 @@
+ builddir = @builddir@
+ bindir = $(exec_prefix)/bin
+ libdir = $(exec_prefix)/lib/mc
+-suppbindir = $(libdir)/bin
+-tidir = $(libdir)/term
+-extfsdir = $(libdir)/extfs
++suppbindir = $(datadir)/bin
++tidir = $(datadir)/term
++extfsdir = $(datadir)/extfs
+ mandir = $(prefix)/man/man1
+-datadir = $(prefix)/share
++datadir = $(prefix)/share/mc
+ localedir = $(datadir)/locale
+ manext = 1
+ man8dir = $(prefix)/man/man8
+@@ -49,7 +49,7 @@
+ # 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)/"\" $(XINC) -DLOCALEDIR=\""$(localedir)/"\" -DWANT_PARSE
++XCPPFLAGS = @CPPFLAGS@ -I.. -DBINDIR=\""$(bindir)/"\" -DLIBDIR=\""$(datadir)/"\" $(XINC) -DLOCALEDIR=\""$(localedir)/"\" -DWANT_PARSE
+ XLDFLAGS = @LDFLAGS@
+ XDEFS = @DEFS@
+ XLIBS = @LIBS@