aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail-tls
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-02-14 09:26:03 +0800
committerlioux <lioux@FreeBSD.org>2001-02-14 09:26:03 +0800
commitf93111d0a37a505adc946e0cb01cd174c4a182a7 (patch)
tree3f53fb59c431027f16e61fee2882928cec52956c /mail/qmail-tls
parent7355a9ab815ce0d825388c0418478aa420aae73f (diff)
downloadfreebsd-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-tls')
-rw-r--r--mail/qmail-tls/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/mail/qmail-tls/Makefile b/mail/qmail-tls/Makefile
index 56d71a279c62..af454106c0ca 100644
--- a/mail/qmail-tls/Makefile
+++ b/mail/qmail-tls/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= qmail
-PORTVERSION= ${QMAIL_VERSION}.${TLS_PATCH_DATE}
+PORTVERSION= ${QMAIL_VERSION}.${TLS_PATCH_DATE}
CATEGORIES= mail
PKGNAMESUFFIX= -tls
@@ -20,17 +20,23 @@ USE_OPENSSL= YES
TLS_PATCH_DATE= 20000823
+# Using default from master port, i.e., /var/qmail
+PREFIX?= ${QMAIL_PORT_PREFIX}
+#PREFIX= /var/qmail-tls
+
.if !defined(PRE_MK_INCLUDED)
.include <bsd.port.pre.mk>
.endif
-MAKE_ARGS+= TLS=yes
+MAKE_ARGS+= TLS=yes
.if defined(WITH_TLS_DEBUG)
MAKE_ARGS+= DEBUG=yes
.endif # WITH_TLS_DEBUG
-#PREFIX= /var/qmail-tls
+#QMAIL_PORT= ${PORTSDIR}/mail/qmail
+QMAIL_PORT= ${.CURDIR}/../qmail
+QMAIL_PORT_PREFIX!= cd ${QMAIL_PORT} && ${MAKE} -V PREFIX
DOCFILES+= ${WRKDIR}/TLS.readme
@@ -89,8 +95,7 @@ certificate-req:
fi
# 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