summaryrefslogtreecommitdiffstats
path: root/mail/dbmail20/Makefile
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2003-10-13 23:57:18 +0000
committersumikawa <sumikawa@FreeBSD.org>2003-10-13 23:57:18 +0000
commit48a684d52387bfad3ce4528027bfef208fae0947 (patch)
treeb6655a4e8935d41466fa1fa621fde645cd003984 /mail/dbmail20/Makefile
parent7ad7359e0425127ce9815b5229261cf894fe3b78 (diff)
downloadFreeBSD-ports-48a684d52387bfad3ce4528027bfef208fae0947.zip
FreeBSD-ports-48a684d52387bfad3ce4528027bfef208fae0947.tar.gz
Upgrade to 1.2.
PR: ports/57958 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Diffstat (limited to 'mail/dbmail20/Makefile')
-rw-r--r--mail/dbmail20/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/dbmail20/Makefile b/mail/dbmail20/Makefile
index 6dc95df..e1ca7b5 100644
--- a/mail/dbmail20/Makefile
+++ b/mail/dbmail20/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dbmail
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= mail
MASTER_SITES= http://www.dbmail.org/tgz/
PKGNAMESUFFIX= -${DATABASE}
@@ -19,23 +19,26 @@ USE_REINPLACE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}
USE_GMAKE= YES
+USE_OPENSSL= YES
.if defined(WITH_PGSQL)
CONFIGURE_ARGS+= --with-pgsql
-LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
+LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql-client
DATABASE= postgresql
PLIST_SUB+= PGSQL=""
PLIST_SUB+= MYSQL="@comment "
+LDFLAGS+= -L${LOCALBASE}/lib/
.else
USE_MYSQL= YES
CONFIGURE_ARGS+= --with-mysql
DATABASE= mysql
PLIST_SUB+= MYSQL=""
PLIST_SUB+= PGSQL="@comment "
+CFLAGS+= -I${LOCALBASE}/include/mysql
+LDFLAGS+= -L${LOCALBASE}/lib/mysql
.endif
-CFLAGS+= -I${LOCALBASE}/include/mysql
-CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib/ -L${LOCALBASE}/lib/${DATABASE}"
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" LOCALBASE=${LOCALBASE}
FILES_TO_PATCH= imapd.c main.c maintenance.c pop3d.c user.c
DOCS= INSTALL README
OpenPOWER on IntegriCloud