summaryrefslogtreecommitdiff
path: root/misc/mc/patches/patch-ac
blob: 3ee16a2c3b2b5a9d9b61007e06f2ad39877872a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ac,v 1.4 1998/10/04 18:22:32 tv Exp $

--- Make.common.in.orig	Mon May 25 06:16:04 1998
+++ Make.common.in	Sun Oct  4 09:09:45 1998
@@ -17,6 +17,7 @@
 
 builddir   = @builddir@
 bindir     = $(exec_prefix)/bin
+sbindir    = $(exec_prefix)/sbin
 libdir     = $(exec_prefix)/lib/mc
 suppbindir = $(libdir)/bin
 tidir      = $(libdir)/term
@@ -51,7 +52,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)/"\" -DICONDIR=\""$(icondir)/"\" $(XINC) -DLOCALEDIR=\""$(localedir)/"\" 
+XCPPFLAGS = @CPPFLAGS@ -I.. -DSBINDIR=\""$(sbindir)/"\" -DBINDIR=\""$(bindir)/"\" -DLIBDIR=\""$(libdir)/"\" -DICONDIR=\""$(icondir)/"\" $(XINC) -DLOCALEDIR=\""$(localedir)/"\" 
 XLDFLAGS = @LDFLAGS@
 XDEFS = @DEFS@
 XLIBS = @LIBS@