diff options
author | sem <sem@FreeBSD.org> | 2005-05-06 04:03:10 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-05-06 04:03:10 +0800 |
commit | 2bbdecda770ef9a7e8029ff775021e590a62f540 (patch) | |
tree | 2a033ecb489647db72822c91afd73288f59876e9 /mail/qmail-mysql/Makefile | |
parent | 626ef519ece6fc3ee3415a64df83575d0221a2fe (diff) | |
download | freebsd-ports-gnome-2bbdecda770ef9a7e8029ff775021e590a62f540.tar.gz freebsd-ports-gnome-2bbdecda770ef9a7e8029ff775021e590a62f540.tar.zst freebsd-ports-gnome-2bbdecda770ef9a7e8029ff775021e590a62f540.zip |
o Pacify a lot of portlint WARN and FATAL messages
o Change ${PERL} to ${SED} or ${REINPLACE_CMD}
o Added patch patch-qmail-1.03-rfc2821.diff to search other MX servers
when the first return a code > 500 and < 599
o Install mkaliasdir script on ${PREFIX}/scripts directory
o Remove targets to disable-qmail and enable-sendmail and put it on a
shell script that is installed on /var/qmail/scripts. Change messages
reflect this.
o Organize better pkg-plist
o Remove thereal-post-patch target and put all on post-post-patch target
o Add [0-9] to CONFLICTS on qmail-ldap port
o Change LIB_DEPENDS to USE_MYSQL=yes on qmail-mysql port
o Change qmail-spamcontrol to don't need more to apply patches mannualy
PR: ports/79094
Submitted by: maintainer
Diffstat (limited to 'mail/qmail-mysql/Makefile')
-rw-r--r-- | mail/qmail-mysql/Makefile | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/mail/qmail-mysql/Makefile b/mail/qmail-mysql/Makefile index a5f3cdcc55e1..981ce9cc1702 100644 --- a/mail/qmail-mysql/Makefile +++ b/mail/qmail-mysql/Makefile @@ -17,7 +17,8 @@ PATCHFILES+= qmail-mysql-${MYSQL_PATCH_VERSION}.patch:mysql MAINTAINER= freebsd@galle.com.br COMMENT= A SECURE, reliable, and FAST MTA for UNIX systems WITH MySQL support -LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +USE_MYSQL= yes +USE_REINPLACE= yes # patches from the master port that brake this one are now allowed MAIN_QMAIL_PORT_WITH_QMAILQUEUE_PATCH_BARRIER= yes @@ -26,30 +27,25 @@ MYSQL_PATCH_VERSION= 1.1.8 # Using default from master port, i.e., /var/qmail PREFIX?= ${QMAIL_PORT_PREFIX} -#PREFIX= /var/qmail-mysql -.if !defined(PRE_MK_INCLUDED) +.if !defined(_PREMKINCLUDED) .include <bsd.port.pre.mk> .endif -#QMAIL_PORT= ${PORTSDIR}/mail/qmail -QMAIL_PORT= ${.CURDIR}/../qmail -QMAIL_PORT_PREFIX!= cd ${QMAIL_PORT} && ${MAKE} -V PREFIX +# Local overrides +MASTERDIR= ${.CURDIR}/../qmail +PKGDIR_LOCAL= ${.CURDIR} +DESCR= ${PKGDIR_LOCAL}/pkg-descr +PKGMESSAGE= ${PKGDIR_LOCAL}/pkg-message + +QMAIL_PORT_PREFIX!= cd ${MASTERDIR} && ${MAKE} -V PREFIX # Yet anther ugly hack (works due to code inside the main qmail port) slaveport-post-patch: qmail-mysql-post-patch qmail-mysql-post-patch: - @${PERL} -pi -ne \ + @${REINPLACE_CMD} \ 's|/opt/mysql|${LOCALBASE}|' \ ${WRKSRC}/Makefile -# Local overrides -MASTERDIR= ${QMAIL_PORT} -PKGDIR_LOCAL= ${.CURDIR} -DESCR= ${PKGDIR_LOCAL}/pkg-descr -PKGMESSAGE= ${PKGDIR_LOCAL}/pkg-message - -PRE_MK_INCLUDED= yes - .include "${MASTERDIR}/Makefile" |