diff options
author | dinoex <dinoex@FreeBSD.org> | 2009-05-07 13:06:36 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2009-05-07 13:06:36 +0800 |
commit | f261dfdccca6d7731037ffc5caccdc82ad2d108a (patch) | |
tree | 8595e4d3f352737ea31c75ec8f343186ed700e6c /mail/spamilter | |
parent | 7670b808f48f8795d0d79034769f120a5ceddd51 (diff) | |
download | freebsd-ports-gnome-f261dfdccca6d7731037ffc5caccdc82ad2d108a.tar.gz freebsd-ports-gnome-f261dfdccca6d7731037ffc5caccdc82ad2d108a.tar.zst freebsd-ports-gnome-f261dfdccca6d7731037ffc5caccdc82ad2d108a.zip |
- new option WITH_LIBSPF
Submitted by: Paul Koene
Diffstat (limited to 'mail/spamilter')
-rw-r--r-- | mail/spamilter/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/spamilter/Makefile b/mail/spamilter/Makefile index 42b9df582fb9..672a391005eb 100644 --- a/mail/spamilter/Makefile +++ b/mail/spamilter/Makefile @@ -47,6 +47,13 @@ CONFIGURE_ARGS+= --with-popauth CONFIGURE_ARGS+= --with-pam .endif +.if defined(WITH_LIBSPF) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libspf.a:mail/libspf +CONFIGURE_ARGS+= --with-libspf ${LOCALBASE} +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +.endif + .if ${OSVERSION} >= 700015 || (${OSVERSION} < 700000 && ${OSVERSION} >= 601103) CONFIGURE_ARGS+= --have-resn .endif |