diff options
author | jlam <jlam> | 2004-01-03 23:06:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-03 23:06:43 +0000 |
commit | 0d6c711ce586532632e1ae1b985d86085faa4580 (patch) | |
tree | 7815453a8a5d5cc91288c15c8c52893726b1e2bc /pkgtools | |
parent | 7c4feed9a8d4596547ef84ababb069e65e478323 (diff) | |
download | pkgsrc-0d6c711ce586532632e1ae1b985d86085faa4580.tar.gz |
Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/libnbcompat/buildlink3.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgtools/libnbcompat/buildlink3.mk b/pkgtools/libnbcompat/buildlink3.mk new file mode 100644 index 00000000000..1047dec0ff9 --- /dev/null +++ b/pkgtools/libnbcompat/buildlink3.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:45 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBNBCOMPAT_BUILDLINK3_MK:= ${LIBNBCOMPAT_BUILDLINK3_MK}+ + +.if !empty(LIBNBCOMPAT_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.libnbcompat?= libnbcompat>=20030830 +BUILDLINK_PKGSRCDIR.libnbcompat?= ../../pkgtools/libnbcompat +BUILDLINK_DEPMETHOD.libnbcompat?= build +.endif # LIBNBCOMPAT_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= libnbcompat +.endif + +.if !empty(LIBNBCOMPAT_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= libnbcompat +BUILDLINK_LDADD.libnbcompat= -lnbcompat + +. if defined(GNU_CONFIGURE) +LIBS+= ${BUILDLINK_LDADD.libnbcompat} +. endif +.endif # LIBNBCOMPAT_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} |