summaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-07-26 09:31:17 +0000
committeritojun <itojun@pkgsrc.org>2000-07-26 09:31:17 +0000
commit6caf2ebe398f1e39c389d82b9ce55ec1df76d778 (patch)
treeafb6b4d32e3be7dd44a58412e76aa5cbd91ef3e0 /mail/sendmail
parent71b0177b3b8f9eaf226ac65b87fffa193ef237b4 (diff)
downloadpkgsrc-6caf2ebe398f1e39c389d82b9ce55ec1df76d778.tar.gz
for NetBSD platform, pass bsd.pkg.mk ${LDFLAGS} via sendmail M4 declaration
confLDOPTS. the real problem is in sendmail side - M4 macro APPENDDEF chokes if we pass string with "," inside. we are okay for now, as we don't have any APPENDDEF against confLDOPTS. in general, we are not sure if the fix works for everyone. not sure if we need the similar fix for Solaris or not. problem report From: Bernd.Ernesti@security.kpnqwest.com (Bernd Ernesti)
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/files/patch-sum3
-rw-r--r--mail/sendmail/files/site.config.m4-ldap2
-rw-r--r--mail/sendmail/patches/patch-ab8
3 files changed, 11 insertions, 2 deletions
diff --git a/mail/sendmail/files/patch-sum b/mail/sendmail/files/patch-sum
index fd0fcff9d80..a5ffccce3b5 100644
--- a/mail/sendmail/files/patch-sum
+++ b/mail/sendmail/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.6 2000/07/24 04:22:32 itojun Exp $
+$NetBSD: patch-sum,v 1.7 2000/07/26 09:31:17 itojun Exp $
MD5 (patch-aa) = 85d59753f5d593e8c1c3eab01302967e
+MD5 (patch-ab) = 3301ced548a17d8e013f593cec847a20
diff --git a/mail/sendmail/files/site.config.m4-ldap b/mail/sendmail/files/site.config.m4-ldap
index 5d2a59d6272..ba8c5836d14 100644
--- a/mail/sendmail/files/site.config.m4-ldap
+++ b/mail/sendmail/files/site.config.m4-ldap
@@ -1,4 +1,4 @@
# enable ldap
APPENDDEF(`confMAPDEF', `-DLDAPMAP')
APPENDDEF(`confENVDEF', `-I${LOCALBASE}/include')
-APPENDDEF(`confLIBS', `-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lldap -llber')
+APPENDDEF(`confLIBS', `-L${LOCALBASE}/lib -lldap -llber')
diff --git a/mail/sendmail/patches/patch-ab b/mail/sendmail/patches/patch-ab
new file mode 100644
index 00000000000..c2bd08cc2eb
--- /dev/null
+++ b/mail/sendmail/patches/patch-ab
@@ -0,0 +1,8 @@
+$NetBSD: patch-ab,v 1.7 2000/07/26 09:31:19 itojun Exp $
+*** devtools/OS/NetBSD- Wed Jul 26 18:20:07 2000
+--- devtools/OS/NetBSD Wed Jul 26 18:19:29 2000
+***************
+*** 16 ****
+--- 16,17 ----
+ define(`confMAN8EXT', `0')
++ define(`confLDOPTS', `${LDFLAGS}')