summaryrefslogtreecommitdiff
path: root/net/netatalk-asun/files/patch-aa
blob: f6ae3df16e4aee10eb9e47263e892447f09e711a (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
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
--- Makefile.orig	Mon Sep 28 21:48:41 1998
+++ Makefile	Tue Nov 24 14:19:18 1998
@@ -1,15 +1,15 @@
-# Root of installation. Subdirectories will be ${DESTDIR}/etc,
+TARGETS=	atalk
 # ${DESTDIR}/bin, and ${DESTDIR}/lib.
-DESTDIR=/usr/local/atalk
+DESTDIR=${PREFIX}
 
 # for system-level binaries
-SBINDIR=$(DESTDIR)/etc
+SBINDIR=$(DESTDIR)/libexec
 # for user-level binaries
 BINDIR=$(DESTDIR)/bin
 # for program libraries (*.a)
 LIBDIR=$(DESTDIR)/lib
 # for machine-independent resources (pagecount.ps, etc.)
-RESDIR=$(DESTDIR)/etc
+RESDIR=$(DESTDIR)/share
 # for configuration files (AppleVolumes.system, etc.)
 ETCDIR=$(DESTDIR)/etc
 # for include files
@@ -29,16 +29,16 @@
 # Location of the DES library and include files. Comment this out if you
 # don't want Randnum Exchange and 2-Way Randnum Exchange as allowable UAMs 
 # for afpd. We expect libdes.a in $DESDIR/lib and des.h in $DESDIR/include.
-DESDIR=/usr/local
+DESDIR=/usr
 
 # Location of the tcp wrapper library and include files. Comment this out
 # if you don't want tcp wrapper support. having tcp wrapper support is
 # highly recommended.
-TCPWRAPDIR=/usr
+TCPWRAPDIR=${PREFIX}
 
 # Location of PAM support library and include files. Comment this out
 # if you don't want to enable PAM support
-PAMDIR=/usr
+#PAMDIR=/usr
 
  
 # Location of the AFS and Kerberos libraries and include files.  Uncomment
@@ -74,7 +74,8 @@
 	    ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \
 	    DESTDIR="${DESTDIR}" MANDIR="${MANDIR}" \
 	    TCPWRAPDIR="${TCPWRAPDIR}" PAMDIR="${PAMDIR}" \
-	    AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" DESDIR="${DESDIR}" $@
+	    AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" DESDIR="${DESDIR}" \
+	    OPTOPTS="${CFLAGS}" $@
 
 FRC: