aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pine4
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-01-17 20:40:00 +0800
committerasami <asami@FreeBSD.org>2000-01-17 20:40:00 +0800
commit75c64e99ffd36918dd8231d3452759ad3770a9ed (patch)
tree7e0de0c1a08b171fa2b0110375e67ad8625628f8 /mail/pine4
parent48e2dab45cf2b8c920be21bbabfddf4bf0a33ebc (diff)
downloadfreebsd-ports-gnome-75c64e99ffd36918dd8231d3452759ad3770a9ed.tar.gz
freebsd-ports-gnome-75c64e99ffd36918dd8231d3452759ad3770a9ed.tar.zst
freebsd-ports-gnome-75c64e99ffd36918dd8231d3452759ad3770a9ed.zip
Do not include bsd.port.pre.mk twice (once in the slave and once in the
master). This is done by defining a variable "PRE_MK_INCLUDED" in the slave before including ${MASTERDIR}/Makefile, and have the master check it before including any necessary macro files.
Diffstat (limited to 'mail/pine4')
-rw-r--r--mail/pine4/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/pine4/Makefile b/mail/pine4/Makefile
index c3e3ae471a46..93e4427b6648 100644
--- a/mail/pine4/Makefile
+++ b/mail/pine4/Makefile
@@ -77,4 +77,9 @@ post-install:
${PREFIX}/bin/pine -P ${PREFIX}/etc/pine.conf -conf >${WRKSRC}/pine.conf
${INSTALL_DATA} ${WRKSRC}/pine.conf ${PREFIX}/etc/pine.conf
+# hack to allow slave ports to include bsd.port.pre.mk and then this file
+.if defined(PRE_MK_INCLUDED)
+.include <bsd.port.post.mk>
+.else
.include <bsd.port.mk>
+.endif