pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/posix_headers Use BUILDLINK_DEPMETHOD instead...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/631273f93d1f
branches:  trunk
changeset: 528326:631273f93d1f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Apr 29 19:52:44 2007 +0000

description:
Use BUILDLINK_DEPMETHOD instead of BUILD_DEPENDS hack.

diffstat:

 pkgtools/posix_headers/buildlink3.mk |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (31 lines):

diff -r 1fb109de6722 -r 631273f93d1f pkgtools/posix_headers/buildlink3.mk
--- a/pkgtools/posix_headers/buildlink3.mk      Sun Apr 29 19:27:35 2007 +0000
+++ b/pkgtools/posix_headers/buildlink3.mk      Sun Apr 29 19:52:44 2007 +0000
@@ -1,12 +1,10 @@
-# $NetBSD: buildlink3.mk,v 1.3 2007/04/28 21:03:56 tnn Exp $
-
-BUILD_DEPENDS+=                posix_headers>=0.4nb5:../../pkgtools/posix_headers
+# $NetBSD: buildlink3.mk,v 1.4 2007/04/29 19:52:44 tnn Exp $
 
 BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
 POSIX_HEADERS_BUILDLINK3_MK:=  ${POSIX_HEADERS_BUILDLINK3_MK}+
 
 .if !empty(BUILDLINK_DEPTH:M+)
-#BUILDLINK_DEPENDS+=   # intentionally left blank.
+BUILDLINK_DEPENDS+=    posix_headers
 .endif
 
 BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nposix_headers}
@@ -14,9 +12,10 @@
 BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}posix_headers
 
 .if !empty(POSIX_HEADERS_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.posix_headers+=  posix_headers>=0.1bogus
-BUILDLINK_ABI_DEPENDS.posix_headers+=  posix_headers>=0.1bogus
+BUILDLINK_API_DEPENDS.posix_headers+=  posix_headers>=0.4nb5
+BUILDLINK_ABI_DEPENDS.posix_headers+=  posix_headers>=0.4nb5
 BUILDLINK_PKGSRCDIR.posix_headers?=    ../../pkgtools/posix_headers
+BUILDLINK_DEPMETHOD.posix_headers?=    build
 .endif # POSIX_HEADERS_BUILDLINK3_MK
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index