diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2003-09-26 20:15:58 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2003-09-26 20:15:58 +0000 |
commit | 1c9f7b5917b97726323bc175994775d7f239605c (patch) | |
tree | 27b6ff29cde16dfb1868dc68dd6f8479c3292e3a /mail | |
parent | 30dd1e5aebb5d42605565afd001da0ab2773f4aa (diff) | |
download | ports-1c9f7b5917b97726323bc175994775d7f239605c.tar.gz ports-1c9f7b5917b97726323bc175994775d7f239605c.zip |
Allow building with sendmail from ports
Notes
Notes:
svn path=/head/; revision=89476
Diffstat (limited to 'mail')
-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 bc0433dee513..d3c81a1baaba 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> |