summaryrefslogtreecommitdiff
path: root/mail/dk-milter/patches/patch-aa
blob: d5bcf5a5ef53de9303bde3e4d2c4652975aeed24 (plain)
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
$NetBSD: patch-aa,v 1.1.1.1 2005/07/20 19:42:50 tv Exp $

--- dk-filter/Makefile.m4.orig	2005-07-20 14:55:01.000000000 -0400
+++ dk-filter/Makefile.m4
@@ -4,10 +4,10 @@ include(confBUILDTOOLSDIR`/M4/switch.m4'
 define(`confMT', `TRUE')
 define(`confREQUIRE_LIBSM', `true')
 
-APPENDDEF(`confLIBS', `-lssl -lcrypto')
+APPENDDEF(`confLIBS', `-lssl -lcrypto @PTHREAD_LDFLAGS@ ')
 dnl Enable and edit these paths as needed:
-dnl APPENDDEF(`confINCDIRS', `-I/usr/local/ssl/include ')
-dnl APPENDDEF(`confLIBDIRS', `-L/usr/local/ssl/lib ')
+APPENDDEF(`confINCDIRS', `-I@SSLBASE@/include -I@PTHREAD@/include ')
+APPENDDEF(`confLIBDIRS', `-L@SSLBASE@/lib -L@PTHREAD@/lib ')
 
 dnl To use the asynchronous resolver library provided, enable this line:
 dnl bldPUSH_SMLIB(`ar')
@@ -19,12 +19,12 @@ bldPUSH_SMLIB(`sm')
 
 dnl Enable these next line if needed to specify the locations of libmilter.a
 dnl and the libmilter include files:
-dnl APPENDDEF(`confINCDIRS', `-I/usr/local/sendmail/include')
-dnl APPENDDEF(`confLIBDIRS', `-L/usr/local/sendmail/lib')
+APPENDDEF(`confINCDIRS', `-I@LMBASE@/include ')
+APPENDDEF(`confLIBDIRS', `-L@LMBASE@/lib')
 
 
 dnl Enable for IPv6 support:
-dnl APPENDDEF(`confENVDEF', `-DNETINET6 ')
+@INET6@ APPENDDEF(`confENVDEF', `-DNETINET6 ')
 
 dnl Compile time options, especially FFRs:
 dnl APPENDDEF(`confENVDEF', `-D_FFR_EXTERNAL_IGNORE_LIST ')