diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-02-14 01:26:03 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-02-14 01:26:03 +0000 |
commit | 8bf4730882b9662af6f989f31ee76c4cec91c7c1 (patch) | |
tree | f1a706db7a7cdb3963ddc8d37c424da3c75c456b /mail/qmail-mysql | |
parent | Upgrade to 3.1.10 (diff) |
Have slave ports correctly inherit PREFIX from master port qmail
Also, replace hard references to the master port with relative
ones.
Spotted by: Radovan Gibala <gigi@agraf.sk>
Notes
Notes:
svn path=/head/; revision=38320
Diffstat (limited to 'mail/qmail-mysql')
-rw-r--r-- | mail/qmail-mysql/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/qmail-mysql/Makefile b/mail/qmail-mysql/Makefile index 7b4cee0094d3..c1244083360b 100644 --- a/mail/qmail-mysql/Makefile +++ b/mail/qmail-mysql/Makefile @@ -19,11 +19,17 @@ LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client MYSQL_PATCH_VERSION= 1.1.1 +# Using default from master port, i.e., /var/qmail +PREFIX?= ${QMAIL_PORT_PREFIX} +#PREFIX= /var/qmail-mysql + .if !defined(PRE_MK_INCLUDED) .include <bsd.port.pre.mk> .endif -#PREFIX= /var/qmail-mysql +#QMAIL_PORT= ${PORTSDIR}/mail/qmail +QMAIL_PORT= ${.CURDIR}/../qmail +QMAIL_PORT_PREFIX!= cd ${QMAIL_PORT} && ${MAKE} -V PREFIX # Yet anther ugly hack (works due to code inside the main qmail port) yetanotherone-post-patch: qmail-mysql-post-patch @@ -34,8 +40,7 @@ qmail-mysql-post-patch: ${WRKSRC}/Makefile # Local overrides -MASTERDIR= ${PORTSDIR}/mail/qmail -#MASTERDIR= ${.CURDIR}/../qmail +MASTERDIR= ${QMAIL_PORT} PKGDIR_LOCAL= ${.CURDIR} COMMENT= ${PKGDIR_LOCAL}/pkg-comment DESCR= ${PKGDIR_LOCAL}/pkg-descr |