summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.compat.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/bsd.compat.mk')
-rw-r--r--share/mk/bsd.compat.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/share/mk/bsd.compat.mk b/share/mk/bsd.compat.mk
new file mode 100644
index 0000000..4f02df09
--- /dev/null
+++ b/share/mk/bsd.compat.mk
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+.if !defined(BURN_BRIDGES)
+.for oldnew in \
+ NOMAN:NO_MAN \
+ NOMANCOMPRESS:NO_MANCOMPRESS \
+ NOOBJ:NO_OBJ
+.for old in ${oldnew:C/:.*//}
+.for new in ${oldnew:C/.*://}
+.if defined(${old}) && !defined(${new})
+.warning ${old} is deprecated in favor of ${new}
+${new}= ${${old}}
+.endif
+.endfor
+.endfor
+.endfor
+.endif
OpenPOWER on IntegriCloud