aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.post.mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-11 13:21:29 +0800
committerasami <asami@FreeBSD.org>1998-11-11 13:21:29 +0800
commit7aed28166a84f266be861367fc9a1add43f9219a (patch)
tree02d4875e76d3162cc59279a8845c5855e8517140 /Mk/bsd.port.post.mk
parent39a845ba15a75a1699e0078308c5c36df68903a5 (diff)
downloadfreebsd-ports-gnome-7aed28166a84f266be861367fc9a1add43f9219a.tar.gz
freebsd-ports-gnome-7aed28166a84f266be861367fc9a1add43f9219a.tar.zst
freebsd-ports-gnome-7aed28166a84f266be861367fc9a1add43f9219a.zip
Make bsd.port.mk includable in two phases. bsd.port.pre.mk defines only
a few variables that could be used in the port Makefile for ".if exists()" tests. bsd.port.post.mk defines the rest. Note: if you define USE_X_PREFIX or USE_IMAKE, put it before including bsd.port.pre.mk. These are the only two variables used in the first part. In reality, bsd.port.pre.mk and bsd.port.post.mk just include bsd.port.mk with special variables to turn part of it off.
Diffstat (limited to 'Mk/bsd.port.post.mk')
-rw-r--r--Mk/bsd.port.post.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mk/bsd.port.post.mk b/Mk/bsd.port.post.mk
new file mode 100644
index 000000000000..be53028b5607
--- /dev/null
+++ b/Mk/bsd.port.post.mk
@@ -0,0 +1,7 @@
+# $Id$
+
+AFTERPORTMK= yes
+
+.include <bsd.port.mk>
+
+.undef AFTERPORTMK