summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.port.post.mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-11 05:21:29 +0000
committerasami <asami@FreeBSD.org>1998-11-11 05:21:29 +0000
commit7aecd96aa5bcb77f2b7b0aed9b06cc31da23fbf2 (patch)
treeb1a609820d0f7976cfdd9de505e35bc70efeb028 /share/mk/bsd.port.post.mk
parent1b99c0c5bec55dd3f8a00a97bd43aea26cbaea4e (diff)
downloadFreeBSD-src-7aecd96aa5bcb77f2b7b0aed9b06cc31da23fbf2.zip
FreeBSD-src-7aecd96aa5bcb77f2b7b0aed9b06cc31da23fbf2.tar.gz
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 'share/mk/bsd.port.post.mk')
-rw-r--r--share/mk/bsd.port.post.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/mk/bsd.port.post.mk b/share/mk/bsd.port.post.mk
new file mode 100644
index 0000000..be53028
--- /dev/null
+++ b/share/mk/bsd.port.post.mk
@@ -0,0 +1,7 @@
+# $Id$
+
+AFTERPORTMK= yes
+
+.include <bsd.port.mk>
+
+.undef AFTERPORTMK
OpenPOWER on IntegriCloud