[Midnightbsd-cvs] mports [19652] trunk/Mk/extensions: add localbase and libedit extensions

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Aug 1 09:30:54 EDT 2015


Revision: 19652
          http://svnweb.midnightbsd.org/mports/?rev=19652
Author:   laffer1
Date:     2015-08-01 09:30:54 -0400 (Sat, 01 Aug 2015)
Log Message:
-----------
add localbase and libedit extensions

Added Paths:
-----------
    trunk/Mk/extensions/libedit.mk
    trunk/Mk/extensions/localbase.mk

Added: trunk/Mk/extensions/libedit.mk
===================================================================
--- trunk/Mk/extensions/libedit.mk	                        (rev 0)
+++ trunk/Mk/extensions/libedit.mk	2015-08-01 13:30:54 UTC (rev 19652)
@@ -0,0 +1,15 @@
+# $MidnightBSD$
+#
+# handle dependency on the libedit port
+#
+# Feature:	libedit
+# Usage:	USES=libedit
+# Valid ARGS:	none
+#
+
+.if !defined(_INCLUDE_USES_LIBEDIT_MK)
+_INCLUDE_USES_LIBEDIT_MK=	yes
+.include "${EXTENSIONSDIR}/localbase.mk"
+
+LIB_DEPENDS+=	libedit.so.0:${PORTSDIR}/devel/libedit
+.endif


Property changes on: trunk/Mk/extensions/libedit.mk
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/Mk/extensions/localbase.mk
===================================================================
--- trunk/Mk/extensions/localbase.mk	                        (rev 0)
+++ trunk/Mk/extensions/localbase.mk	2015-08-01 13:30:54 UTC (rev 19652)
@@ -0,0 +1,17 @@
+# $MidnightBSD$
+#
+# handle enforcing localbase in path
+#
+# Feature:	localbase
+# Usage:	USES=localbase
+# Valid ARGS:	none
+#
+
+.if !defined(_INCLUDE_USES_LOCALBASE_MK)
+_INCLUDE_USES_LOCALBASE_MK=	yes
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+CFLAGS+=	-I${LOCALBASE}/include
+CXXFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+.endif


Property changes on: trunk/Mk/extensions/localbase.mk
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list