[Midnightbsd-cvs] mports [17843] trunk/Mk/extensions/alias.mk: add alias.mk
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Nov 11 21:03:21 EST 2014
Revision: 17843
http://svnweb.midnightbsd.org/mports/?rev=17843
Author: laffer1
Date: 2014-11-11 21:03:20 -0500 (Tue, 11 Nov 2014)
Log Message:
-----------
add alias.mk
Added Paths:
-----------
trunk/Mk/extensions/alias.mk
Added: trunk/Mk/extensions/alias.mk
===================================================================
--- trunk/Mk/extensions/alias.mk (rev 0)
+++ trunk/Mk/extensions/alias.mk 2014-11-12 02:03:20 UTC (rev 17843)
@@ -0,0 +1,26 @@
+# $MidnightBSD$
+# $FreeBSD: head/Mk/Uses/alias.mk 371239 2014-10-20 07:33:00Z marino $
+#
+# Feature: alias
+# Usage: USES=alias or USES=alias:ARGS
+# Valid ARGS: 8, 9 (default), 10, 11
+
+.if !defined(_INCLUDE_USES_ALIAS_MK)
+_INCLUDE_USES_ALIAS_MK= yes
+
+.if ${OPSYS} == MidnightBSD
+
+.if empty(alias_ARGS)
+CFLAGS+= -D__FreeBSD__=9
+.else
+. if ${alias_ARGS} == 8 || ${alias_ARGS} == 10 \
+ || ${alias_ARGS} == 9 || ${alias_ARGS} == 11
+CFLAGS+= -D__FreeBSD__=${alias_ARGS}
+. else
+IGNORE= invalid MAJOR RELEASE argument (${alias_ARGS}) for USES=alias
+. endif
+.endif
+
+.endif # OPSYS == MidnightBSD
+
+.endif
Property changes on: trunk/Mk/extensions/alias.mk
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list