]> git.pld-linux.org Git - packages/amap.git/blob - amap-path.patch
- initial PLD release
[packages/amap.git] / amap-path.patch
1 --- amap-4.7/amap.h.fix 2004-12-11 23:04:05.412386032 +0000
2 +++ amap-4.7/amap.h     2004-12-11 23:04:42.033818728 +0000
3 @@ -29,11 +29,11 @@
4    #warning "PREFIX definition found, installing to this prefix directory location"
5    #define AMAP_PREFIX         PREFIX
6   #else
7 -  #define AMAP_PREFIX         "/usr/local"
8 +  #define AMAP_PREFIX         "/usr"
9   #endif
10  #endif
11  
12 -#define AMAP_APPDEF_PATH       AMAP_PREFIX"/bin"
13 +#define AMAP_APPDEF_PATH       AMAP_PREFIX"/share/amap"
14  #define AMAP_BUFSIZE           1024    // standard buffer size
15  #define AMAP_BUFSIZE_BIG       65536   // big standard buffer size
16  #define AMAP_REGEX_OPTIONS     ( PCRE_MULTILINE | PCRE_CASELESS | PCRE_DOTALL )
17 --- amap-4.7/Makefile.am.fix    2004-12-11 23:19:55.632930552 +0000
18 +++ amap-4.7/Makefile.am        2004-12-11 23:20:09.084885544 +0000
19 @@ -5,6 +5,7 @@
20  DIR=/bin
21  SCRIPTS=appdefs.trig appdefs.resp appdefs.rpc
22  MANPAGE=amap.1
23 +DATADIR=/share/amap
24  all:   pcre strip
25  
26  pcre:
27 @@ -30,7 +31,10 @@
28  install:       all
29         @echo Installing to $(DESTDIR)$(PREFIX)$(DIR), change this by running ./configure --prefix=path
30         -mkdir -vp $(DESTDIR)$(PREFIX)$(DIR) 2> /dev/null
31 -       cp amap amapcrap $(SCRIPTS) $(DESTDIR)$(PREFIX)$(DIR)
32 +       mkdir -p $(DESTDIR)$(PREFIX)$(DATADIR)
33 +       mkdir -p $(DESTDIR)$(MANDIR)
34 +       cp amap amapcrap $(DESTDIR)$(PREFIX)$(DIR)
35 +       cp $(SCRIPTS) $(DESTDIR)$(PREFIX)$(DATADIR)
36         cp $(MANPAGE) $(DESTDIR)$(MANDIR)
37  
38  clean: 
This page took 0.052144 seconds and 3 git commands to generate.