summaryrefslogtreecommitdiff
path: root/mail/tpop3d/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/tpop3d/Makefile')
-rw-r--r--mail/tpop3d/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/tpop3d/Makefile b/mail/tpop3d/Makefile
index 5e34033075e9..d50a7e41b879 100644
--- a/mail/tpop3d/Makefile
+++ b/mail/tpop3d/Makefile
@@ -14,6 +14,7 @@ MASTER_SITES= http://www.ex-parrot.com/~chris/tpop3d/
MAINTAINER= boris@tagnet.ru
COMMENT= Virtual-domain capable POP3 server supporting MySQL,PgSQL etc auth
+IS_INTERACTIVE= yes
USE_OPENSSL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
@@ -30,8 +31,13 @@ OPTIONS= MYSQL "Use MySQL authentication" off \
FLATAUTH "Enable /etc/passwd-style authentication" off \
MAILDIR "Compile Maildir support" on
+.include <bsd.port.pre.mk>
+
# MySQL authentication
.if defined(WITH_MYSQL) && !defined(WITHOUT_MYSQL)
+.if defined(WITH_PGSQL) && !defined(WITHOUT_PGSQL)
+IGNORE= MySQL and PgSQL authentication can not be build together
+.endif
USE_MYSQL= yes
DEFAULT_MYSQL_VER= 41
CONFIGURE_ARGS+= --enable-auth-mysql \
@@ -93,4 +99,4 @@ post-install:
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>