pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/atf



Module Name:    pkgsrc
Committed By:   jlam
Date:           Thu Jun  8 13:30:16 UTC 2017

Added Files:
        pkgsrc/devel/atf: builtin.mk

Log Message:
Detect built-in ATF on the system.

ATF is discovered by looking for the lib/pkgconfig/atf-sh.pc
pkg-config file in the base system.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/atf/builtin.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/atf/builtin.mk
diff -u /dev/null pkgsrc/devel/atf/builtin.mk:1.1
--- /dev/null   Thu Jun  8 13:30:16 2017
+++ pkgsrc/devel/atf/builtin.mk Thu Jun  8 13:30:16 2017
@@ -0,0 +1,17 @@
+# $NetBSD: builtin.mk,v 1.1 2017/06/08 13:30:16 jlam Exp $
+
+BUILTIN_PKG:=          atf
+PKGCONFIG_BASE.atf=    /usr
+PKGCONFIG_FILE.atf=    ${PKGCONFIG_BASE.atf}/lib/pkgconfig/atf-sh.pc
+
+.include "../../mk/buildlink3/pkgconfig-builtin.mk"
+
+CHECK_BUILTIN.atf?=    no
+.if !empty(CHECK_BUILTIN.atf:M[nN][oO])
+.  if !empty(USE_BUILTIN.atf:M[yY][eE][sS])
+BUILDLINK_PREFIX.atf=  ${PKGCONFIG_BASE.atf}
+BUILDLINK_FILES.atf+=  lib/pkgconfig/atf-c++.pc
+BUILDLINK_FILES.atf+=  lib/pkgconfig/atf-c.pc
+BUILDLINK_FILES.atf+=  lib/pkgconfig/atf-sh.pc
+.  endif
+.endif # CHECK_BUILTIN.atf



Home | Main Index | Thread Index | Old Index