summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.prog.mk
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>2004-12-20 15:46:56 +0000
committerpaul <paul@FreeBSD.org>2004-12-20 15:46:56 +0000
commit3b39879086f344c1c5a00bb8440a4034b390ef29 (patch)
tree615d44832ee2e7a07f6ac017ed28a494729e7e72 /share/mk/bsd.prog.mk
parent4852d3818866d5291cad73fdd4d382d2dedd1338 (diff)
downloadFreeBSD-src-3b39879086f344c1c5a00bb8440a4034b390ef29.zip
FreeBSD-src-3b39879086f344c1c5a00bb8440a4034b390ef29.tar.gz
If PORTNAME is set in a system Makefile then hook into the ports
mechanisms to allow a package to be created. This paves the way for packaging the main tree.
Diffstat (limited to 'share/mk/bsd.prog.mk')
-rw-r--r--share/mk/bsd.prog.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 5a6a6bf..a37e179 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -204,3 +204,7 @@ ${OBJS}: ${SRCS:M*.h}
.include <bsd.obj.mk>
.include <bsd.sys.mk>
+
+.if defined(PORTNAME)
+.include <bsd.pkg.mk>
+.endif
OpenPOWER on IntegriCloud