summaryrefslogtreecommitdiff
path: root/misc/mc/patches/patch-ac
blob: cdf384f42429ac33ee306cf80e50869feac4c85d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ac,v 1.2 1998/08/07 11:10:26 agc Exp $

*** 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@