diff options
author | ache <ache@FreeBSD.org> | 2003-09-27 04:15:58 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2003-09-27 04:15:58 +0800 |
commit | a11bcd098c8e7daeda401ec02e386ee0b1a60fc1 (patch) | |
tree | 92f9942334dc746e97af9019df1c221a5a264a5a /mail/sentinel | |
parent | bad4f8adff12ea0c97d8b5dae56bb80fbce364df (diff) | |
download | freebsd-ports-graphics-a11bcd098c8e7daeda401ec02e386ee0b1a60fc1.tar.gz freebsd-ports-graphics-a11bcd098c8e7daeda401ec02e386ee0b1a60fc1.tar.zst freebsd-ports-graphics-a11bcd098c8e7daeda401ec02e386ee0b1a60fc1.zip |
Allow building with sendmail from ports
Diffstat (limited to 'mail/sentinel')
-rw-r--r-- | mail/sentinel/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/sentinel/Makefile b/mail/sentinel/Makefile index bc0433dee51..d3c81a1baab 100644 --- a/mail/sentinel/Makefile +++ b/mail/sentinel/Makefile @@ -19,8 +19,14 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre USE_REINPLACE= yes -.if !exists(/usr/lib/libmilter.a) -IGNORE= requires Sendmail 8.12; upgrade the base system +.include <bsd.port.pre.mk> + +.if !exists(/usr/lib/libmilter.a) && !exists(${LOCALBASE}/lib/libmilter.a) +IGNORE= requires Sendmail 8.12 +.endif +.if exists(${LOCALBASE}/lib/libmilter.a) +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib .endif post-patch: @@ -47,4 +53,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |