diff options
author | marino <marino@FreeBSD.org> | 2016-09-11 05:20:53 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-09-11 05:20:53 +0800 |
commit | ac2c3114a53793e8ea633a8e3898403a8c8aa399 (patch) | |
tree | 09515fcec1b46371d567858f823f997c0883f588 /mail | |
parent | 9ca84a7a77d173bcaa2d8a73c94eddd8393f996c (diff) | |
download | freebsd-ports-gnome-ac2c3114a53793e8ea633a8e3898403a8c8aa399.tar.gz freebsd-ports-gnome-ac2c3114a53793e8ea633a8e3898403a8c8aa399.tar.zst freebsd-ports-gnome-ac2c3114a53793e8ea633a8e3898403a8c8aa399.zip |
mail/qmail-dk: document SSL requirement and support its configuration
While here, remove a bunch of ineffective sed commands against the main
makefile.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/qmail-dk/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/qmail-dk/Makefile b/mail/qmail-dk/Makefile index 3c66844d628d..ca69bd9d7d92 100644 --- a/mail/qmail-dk/Makefile +++ b/mail/qmail-dk/Makefile @@ -17,7 +17,7 @@ LIB_DEPENDS+= libdomainkeys.so:mail/libdomainkeys PATCH_SITES= QMAIL PATCHFILES= qmail-1.03-dk-0.54.patch -USES= qmail +USES= qmail ssl PREFIX?= ${QMAIL_PREFIX} @@ -46,12 +46,11 @@ do-configure: post-patch: @${REINPLACE_CMD} -e 's,"../domainkeys.h",<domainkeys.h>,' \ ${WRKSRC}/qmail-dk.c - @${REINPLACE_CMD} -e 's,../libdomainkeys.a,${LOCALBASE}/lib/libdomainkeys.a,g' \ - ${WRKSRC}/Makefile @${REINPLACE_CMD} -E 's|( *c\(auto.*")qmail-smtpd(".*)$$|\1qmail-smtpd\2\1qmail-dk\2|' \ ${WRKSRC}/hier.c - @${REINPLACE_CMD} 's!/var/qmail!${PREFIX}!; \ - s!/usr/local/!${LOCALBASE}/!' \ + @${REINPLACE_CMD} \ + -e 's|../libdomainkeys.a|${LOCALBASE}/lib/libdomainkeys.a|' \ + -e 's|\(-lcrypto\)|-L${OPENSSLLIB} \1|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} 's!nofiles!qnofiles!g' \ ${WRKSRC}/conf-groups |