aboutsummaryrefslogtreecommitdiffstats
path: root/print/pcal/files/patch-aa
blob: 57b29ee1a41977372629b1d0c8dc62337b02c5b4 (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
--- Makefile.orig   Wed Sep 13 07:59:12 2006
+++ Makefile    Wed Sep 13 08:09:36 2006
@@ -113,8 +113,8 @@
    D_BUILD_ENV = -DBUILD_ENV_UNIX
    PCAL        = pcal
    PCALINIT    = pcalinit
-   CC      = /usr/bin/gcc
-   PCALINIT_CC = /usr/bin/gcc
+   CC      = ${HOST_CC}
+   PCALINIT_CC = ${CC}
    PACK        = compress
    # PACK      = pack
    # PACK      = gzip
@@ -144,9 +144,9 @@
    MANDIR = $(DJDIR)/man/man1
    CATDIR = $(DJDIR)/man/cat1
 else   # Unix
-   BINDIR = /usr/local/bin
-   MANDIR = /usr/man/man1
-   CATDIR = /usr/man/cat1
+   BINDIR = ${PREFIX}/bin
+   MANDIR = ${PREFIX}/man/man1
+   CATDIR = ${PREFIX}/cat1
 endif
 
 OBJECTS = $(OBJDIR)/pcal.o \