openbsd-ports/net/netatalk/patches/patch-makefile

36 lines
1.1 KiB
Plaintext

--- Makefile.orig Mon Sep 13 14:42:56 1999
+++ Makefile Mon Sep 13 14:46:15 1999
@@ -1,17 +1,17 @@
# Root of installation. Subdirectories will be ${DESTDIR}/etc,
# ${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
+ETCDIR=/etc/netatalk
# for include files
INCDIR=$(DESTDIR)/include
# Root of man pages. Subdirectories will be
@@ -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
##########################################################################