Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make libmilter get built with PIC #189

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mail/sendmail/distinfo
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ SHA1 (patch-aj) = e65e6fe44380de2f9c397c1a97677eb4ad285433
SHA1 (patch-al) = f5d8cef8c4abba5d5ae813b754c16037190a7ef1
SHA1 (patch-am) = d84eedbff0f037c1db341255dc9e1877866f12c7
SHA1 (patch-an) = 82d2df0c609099f295eb00f1f5e19391ae97833c
SHA1 (patch-libmilter_Makefile.m4) = 8a37b839a42081189267a5c39a9457bff68cc0c2
12 changes: 12 additions & 0 deletions mail/sendmail/patches/patch-libmilter_Makefile.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
$NetBSD$

--- libmilter/Makefile.m4.orig 2013-04-16 20:19:54.000000000 +0000
+++ libmilter/Makefile.m4
@@ -10,6 +10,7 @@ SMSRCDIR=ifdef(`confSMSRCDIR', `confSMSR
PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')

bldPRODUCT_START(`library', `libmilter')
+APPENDDEF(`confOPTIMIZE', `-fPIC')
define(`bldINSTALLABLE', `true')
define(`LIBMILTER_EXTRAS', `errstring.c strl.c')
APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL -Dsm_snprintf=snprintf')