From 715854fa00050b12d9647c9fb91e3f0e360bd2cb Mon Sep 17 00:00:00 2001 From: xtraeme Date: Sun, 11 Apr 2004 23:29:49 +0000 Subject: bl3ify --- x11/Xaw3d/buildlink3.mk | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 x11/Xaw3d/buildlink3.mk (limited to 'x11/Xaw3d') diff --git a/x11/Xaw3d/buildlink3.mk b/x11/Xaw3d/buildlink3.mk new file mode 100644 index 00000000000..9594707c995 --- /dev/null +++ b/x11/Xaw3d/buildlink3.mk @@ -0,0 +1,24 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/11 23:32:26 xtraeme Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +XAW3D_BUILDLINK3_MK:= ${XAW3D_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= Xaw3d +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXaw3d} +BUILDLINK_PACKAGES+= Xaw3d + +.if !empty(XAW3D_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.Xaw3d+= Xaw3d>=1.5 +BUILDLINK_PKGSRCDIR.Xaw3d?= ../../x11/Xaw3d +.endif # XAW3D_BUILDLINK3_MK + +.include "../../mk/bsd.prefs.mk" + +LIBXAW?= -L${BUILDLINK_PREFIX.Xaw3d}/lib \ + ${_COMPILER_LD_FLAG}${_OPSYS_RPATH_NAME}${BUILDLINK_PREFIX.Xaw3d}/lib \ + -lXaw3d + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3