summaryrefslogtreecommitdiff
path: root/mail/postfix/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-07-18 19:16:31 +0000
committerjlam <jlam@pkgsrc.org>2004-07-18 19:16:31 +0000
commit302b3369f795c25ae91f3b08f5aac3bc6c05b219 (patch)
treea9d700a18364962076efb044ca479d5787c00e72 /mail/postfix/patches
parent3e1bce9fc7efc747316f696fea69bf201950d6a4 (diff)
downloadpkgsrc-302b3369f795c25ae91f3b08f5aac3bc6c05b219.tar.gz
Use FILES_SUBST_SED instead of local make targets to do the same thing.
FILES_SUBST_SED substitutes for @FOO@, so use that format for things to be replaced.
Diffstat (limited to 'mail/postfix/patches')
-rw-r--r--mail/postfix/patches/patch-ae6
-rw-r--r--mail/postfix/patches/patch-af18
2 files changed, 12 insertions, 12 deletions
diff --git a/mail/postfix/patches/patch-ae b/mail/postfix/patches/patch-ae
index 67bee93791c..ae0190c3513 100644
--- a/mail/postfix/patches/patch-ae
+++ b/mail/postfix/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.8 2004/06/21 16:13:23 martti Exp $
+$NetBSD: patch-ae,v 1.9 2004/07/18 19:16:31 jlam Exp $
--- src/global/mail_params.h.orig 2004-04-21 14:56:04.000000000 -0400
+++ src/global/mail_params.h 2004-05-23 22:44:13.000000000 -0400
@@ -16,14 +16,14 @@ $NetBSD: patch-ae,v 1.8 2004/06/21 16:13:23 martti Exp $
#define VAR_DAEMON_DIR "daemon_directory"
#ifndef DEF_DAEMON_DIR
-#define DEF_DAEMON_DIR "/usr/libexec/postfix"
-+#define DEF_DAEMON_DIR "__PREFIX/libexec/postfix"
++#define DEF_DAEMON_DIR "@PREFIX@/libexec/postfix"
#endif
extern char *var_daemon_dir;
#define VAR_COMMAND_DIR "command_directory"
#ifndef DEF_COMMAND_DIR
-#define DEF_COMMAND_DIR "/usr/sbin"
-+#define DEF_COMMAND_DIR "__PREFIX/sbin"
++#define DEF_COMMAND_DIR "@PREFIX@/sbin"
#endif
extern char *var_command_dir;
diff --git a/mail/postfix/patches/patch-af b/mail/postfix/patches/patch-af
index 14d5ff2e173..b4a9dbb4d64 100644
--- a/mail/postfix/patches/patch-af
+++ b/mail/postfix/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.19 2004/06/21 16:13:23 martti Exp $
+$NetBSD: patch-af,v 1.20 2004/07/18 19:16:31 jlam Exp $
--- conf/main.cf.orig 2004-04-15 09:27:21.000000000 -0400
+++ conf/main.cf 2004-05-23 22:51:16.000000000 -0400
@@ -7,19 +7,19 @@ $NetBSD: patch-af,v 1.19 2004/06/21 16:13:23 martti Exp $
# postXXX commands.
#
-command_directory = /usr/sbin
-+command_directory = __PREFIX/sbin
++command_directory = @PREFIX@/sbin
# The daemon_directory parameter specifies the location of all Postfix
# daemon programs (i.e. programs listed in the master.cf file). This
# directory must be owned by root.
#
-daemon_directory = /usr/libexec/postfix
-+daemon_directory = __PREFIX/libexec/postfix
++daemon_directory = @PREFIX@/libexec/postfix
+
+# Shared files and etc directory
-+etc_directory = __PKG_SYSCONFDIR
-+share_directory = __PREFIX/share/examples/postfix
-+man_directory = __PREFIX/man
++etc_directory = @PKG_SYSCONFDIR@
++share_directory = @PREFIX@/share/examples/postfix
++man_directory = @PREFIX@/man
# QUEUE AND PROCESS OWNERSHIP
#
@@ -46,15 +46,15 @@ $NetBSD: patch-af,v 1.19 2004/06/21 16:13:23 martti Exp $
# manpage_directory: The location of the Postfix on-line manual pages.
#
-manpage_directory =
-+manpage_directory = __PREFIX/man
++manpage_directory = @PREFIX@/man
# sample_directory: The location of the Postfix sample configuration files.
# This parameter is obsolete as of Postfix 2.1.
#
-sample_directory =
-+sample_directory = __PREFIX/share/examples/postfix
++sample_directory = @PREFIX@/share/examples/postfix
# readme_directory: The location of the Postfix README files.
#
-readme_directory =
-+readme_directory = __PREFIX/share/doc/postfix
++readme_directory = @PREFIX@/share/doc/postfix