openbsd-ports/net/netatalk/patches/patch-makefile
brad c92b3b5132 - integrate COMMENT
- bump NEED_VERSION
- hardcoded /etc/netatalk -> ${SYSCONFDIR}
--
Ok'd by: maintainer
2001-04-18 13:00:26 +00:00

42 lines
1.2 KiB
Plaintext

--- Makefile.orig Wed Dec 17 12:25:39 1997
+++ Makefile Sat Apr 14 20:26:14 2001
@@ -3,20 +3,20 @@
DESTDIR=/usr/local/atalk
# for system-level binaries
-SBINDIR=$(DESTDIR)/etc
+SBINDIR=${PREFIX}/libexec
# for user-level binaries
-BINDIR=$(DESTDIR)/bin
+BINDIR=${PREFIX}/bin
# for program libraries (*.a)
-LIBDIR=$(DESTDIR)/lib
+LIBDIR=${PREFIX}/lib
# for machine-independent resources (pagecount.ps, etc.)
-RESDIR=$(DESTDIR)/etc
+RESDIR=${PREFIX}/share/netatalk
# for configuration files (AppleVolumes.system, etc.)
-ETCDIR=$(DESTDIR)/etc
+ETCDIR=${SYSCONFDIR}
# for include files
-INCDIR=$(DESTDIR)/include
+INCDIR=${PREFIX}/include
# Root of man pages. Subdirectories will be
# ${MANDIR}/man1, ${MANDIR}/man4, and ${MANDIR}/man8.
-MANDIR=$(DESTDIR)/man
+MANDIR=${PREFIX}/man
#SBINDIR=/usr/sbin
#BINDIR=/usr/bin
@@ -29,8 +29,8 @@
# Location of the AFS and Kerberos libraries and include files. Uncomment
# and edit these if you want to include AFS or Kerberos support in afpd
# or Kerberos support in papd.
-#AFSDIR=/usr/local/afs
-#KRBDIR=/usr/local/kerberos
+#AFSDIR=/usr
+KRBDIR=/usr
##########################################################################