diff options
Diffstat (limited to 'mail/mailfront/Makefile')
-rw-r--r-- | mail/mailfront/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/mailfront/Makefile b/mail/mailfront/Makefile index ad7d71b25a4e..9e48efea7809 100644 --- a/mail/mailfront/Makefile +++ b/mail/mailfront/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mailfront -PORTVERSION= 0.98.1 +PORTVERSION= 1.01 CATEGORIES= mail MASTER_SITES= http://untroubled.org/${PORTNAME}/ \ ${MASTER_SITE_LOCAL} @@ -15,7 +15,6 @@ MASTER_SITE_SUBDIR= sergei MAINTAINER= sergei@FreeBSD.org COMMENT= Mail server network protocol front-ends -BUILD_DEPENDS= bglibs>=1.100:${PORTSDIR}/devel/bglibs LIB_DEPENDS= cvm-v2client.1:${PORTSDIR}/security/cvm WANT_QMAIL= yes @@ -23,11 +22,13 @@ USE_GPG= yes SIG_SUFFIX= .sig QMAIL_PREFIX?= /var/qmail CFLAGS+= -I${CVM_INC} -LDFLAGS= -s -L${CVM_LIB} +CFLAGS_SO= ${CFLAGS} -fPIC -shared -L${CVM_LIB} +LDFLAGS+= -g -L${CVM_LIB} -rdynamic BGLIBS_INC= ${LOCALBASE}/include/bglibs BGLIBS_LIB= ${LOCALBASE}/lib/bglibs CVM_INC= ${LOCALBASE}/include CVM_LIB= ${LOCALBASE}/lib +MODULES_DIR= ${PREFIX}/libexec/${PORTNAME} DOCS= NEWS README TODO *.html @@ -41,7 +42,9 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-mailfront-0.92-dw-auth do-configure: ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin + ${ECHO_CMD} "${MODULES_DIR}" > ${WRKSRC}/conf-modules ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc + ${ECHO_CMD} "${CC} ${CFLAGS_SO}"> ${WRKSRC}/conf-ccso ${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld ${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs ${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs |