summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-ac
blob: 7a8c41ee98ac9d3beea4e12407b9946e45a82c9a (plain) (blame)
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
$FreeBSD: /tmp/pcvs/ports/misc/mc/files/Attic/patch-ac,v 1.10 2002-08-05 21:26:26 fjoe Exp $

--- Make.common.in.orig	Fri Jul 20 18:22:50 2001
+++ Make.common.in	Fri Dec 14 11:04:04 2001
@@ -13,10 +13,10 @@
 datadir    = @datadir@
 libdir	   = @libdir@
 mandir     = @mandir@
-mclibdir   = $(libdir)/mc
+mclibdir   = $(datadir)/mc
 suppbindir = $(mclibdir)/bin
 confdir    = $(sysconfdir)
-localedir  = $(datadir)/locale
+localedir  = $(prefix)/share/locale
 man1dir    = $(mandir)/man1
 manext     = 1
 man8dir    = $(mandir)/man8
@@ -38,7 +38,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 = -I.. @CPPFLAGS@ @MCCPPFLAGS@ @GLIB_CFLAGS@
+XCPPFLAGS = -I$(mcsrcdir) -I.. @CPPFLAGS@ @MCCPPFLAGS@ @GLIB_CFLAGS@
 XLDFLAGS = @LDFLAGS@
 XDEFS = @DEFS@
 XLIBS = @LIBS@