summaryrefslogtreecommitdiff
blob: c7ecb06d792198194891241cad2f8c6e73f7cf8f (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Independently created by me, but exactly the same as
https://bugs.freedesktop.org/show_bug.cgi?id=5175#c4

Donnie Berkholz <spyderous@gentoo.org>

Index: Makefile.am
===================================================================
RCS file: /cvs/xorg/font/util/Makefile.am,v
retrieving revision 1.9
diff -u -b -B -r1.9 Makefile.am
--- Makefile.am	6 Dec 2005 22:48:41 -0000	1.9
+++ Makefile.am	8 Dec 2005 22:54:49 -0000
@@ -31,7 +31,7 @@
 aclocaldir = $(datadir)/aclocal
 aclocal_DATA = fontutil.m4
 
-mapfilesdir = @mapdir@
+mapfilesdir = @MAPDIR@
 mapfiles_DATA = \
 	map-ISO8859-1 \
 	map-ISO8859-2 \
Index: configure.ac
===================================================================
RCS file: /cvs/xorg/font/util/configure.ac,v
retrieving revision 1.7
diff -u -b -B -r1.7 configure.ac
--- configure.ac	3 Dec 2005 05:49:41 -0000	1.7
+++ configure.ac	8 Dec 2005 22:54:49 -0000
@@ -31,8 +31,12 @@
 AC_PROG_CC
 AC_PROG_INSTALL
 
-mapdir="$libdir/X11/fonts/util"
-AC_SUBST(mapdir)
+DEFAULT_MAPDIR=${libdir}/X11/fonts/util
+AC_ARG_WITH(mapdir,
+	AS_HELP_STRING([--with-mapdir=MAPDIR], [Path to install font maps]),
+	[MAPDIR="$withval"],
+	[MAPDIR="$DEFAULT_MAPDIR"])
+AC_SUBST(MAPDIR)
 
 XORG_MANPAGE_SECTIONS
 XORG_RELEASE_VERSION
Index: fontutil.pc.in
===================================================================
RCS file: /cvs/xorg/font/util/fontutil.pc.in,v
retrieving revision 1.1
diff -u -b -B -r1.1 fontutil.pc.in
--- fontutil.pc.in	22 Jul 2005 04:13:44 -0000	1.1
+++ fontutil.pc.in	8 Dec 2005 22:54:49 -0000
@@ -1,7 +1,7 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
-mapdir=@mapdir@
+mapdir=@MAPDIR@
  
 Name: FontUtil
 Description: Font utilities dirs