summaryrefslogtreecommitdiff
path: root/mail/qpopper
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-08-04 22:45:21 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-08-04 22:45:21 +0000
commit693741eef75533f85c1eb99b446270421a6ff867 (patch)
tree4290834b94e23ed4ad011682915a4876a67645e3 /mail/qpopper
parentNo need to define EXTRACT_SUFX if DISTFILES is specified. (diff)
add optional youbin support
Notes
Notes: svn path=/head/; revision=12283
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 3c1d48fccac5..a7d2fa3ed5e5 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -14,10 +14,14 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ache@freebsd.org
+# Set POPD_YOUBIN_SUPPORT variable in the environment to enable
+# youbin support.
#
# If APOP_ONLY variable present in the environment, popper builds
-# with APOP authentification only
+# with APOP authentification only.
#
+# If FULL_POPD_DEBUG variable present in the environment, popper builds
+# with more verbose debugging.
O_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM -DBIND43 \
-DBULLDB -DNONAUTHFILE='\"/etc/ftpusers\"'
@@ -31,12 +35,16 @@ O_DEFS+= -DSKEY
O_DEFS+= -DAPOP_ONLY
.endif
+.if defined(POPD_YOUBIN_SUPPORT)
+O_DEFS+= -DYOUBIN -DCALLED_FROM_POPD
+.endif
+
P_LIBS+= -lmd -lutil
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/popper/pop.auth \
--with-apopuid=pop
-.if defined(FULL_POP_DEBUG)
+.if defined(FULL_POPD_DEBUG)
CONFIGURE_ARGS+= --enable-debugging
.endif
CONFIGURE_ENV= LIBS="${P_LIBS}" O_DEFS="${O_DEFS}"
@@ -45,6 +53,7 @@ MAN8= popauth.8 popper.8
post-patch:
$(RM) ${WRKSRC}/md5.h
+ $(CP) ${FILESDIR}/sendto.c ${WRKSRC}
do-install:
cd ${WRKSRC} && \