diff options
author | lioux <lioux@FreeBSD.org> | 2001-02-14 09:26:03 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-02-14 09:26:03 +0800 |
commit | f93111d0a37a505adc946e0cb01cd174c4a182a7 (patch) | |
tree | 3f53fb59c431027f16e61fee2882928cec52956c /mail/qmail-mysql | |
parent | 7355a9ab815ce0d825388c0418478aa420aae73f (diff) | |
download | freebsd-ports-gnome-f93111d0a37a505adc946e0cb01cd174c4a182a7.tar.gz freebsd-ports-gnome-f93111d0a37a505adc946e0cb01cd174c4a182a7.tar.zst freebsd-ports-gnome-f93111d0a37a505adc946e0cb01cd174c4a182a7.zip |
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>
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 |