summaryrefslogtreecommitdiff
path: root/x11/Xaw3d
diff options
context:
space:
mode:
authorjlam <jlam>2001-08-23 04:24:21 +0000
committerjlam <jlam>2001-08-23 04:24:21 +0000
commit2b3a25f294c80ee47c2837b7690b8b49227dd6ad (patch)
tree5ec2538bff593df702327fcb8ccd9d5a331f9a62 /x11/Xaw3d
parentf4f2c56f4898e07dca177e88c2aa9ac150bc9cea (diff)
downloadpkgsrc-2b3a25f294c80ee47c2837b7690b8b49227dd6ad.tar.gz
Create buildlink.mk files for the various Xaw libraries. Instead of
USE_XAW, a package Makefile may just include mk/xaw.buildlink.mk, which pulls in the correct buildlink.mk file depending on the value of XAW_TYPE. A package Makefile may also rely on LIBXAW being set to the correct libraries.
Diffstat (limited to 'x11/Xaw3d')
-rw-r--r--x11/Xaw3d/buildlink.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/Xaw3d/buildlink.mk b/x11/Xaw3d/buildlink.mk
index 1d2b5c314d3..fee54f55b31 100644
--- a/x11/Xaw3d/buildlink.mk
+++ b/x11/Xaw3d/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.6 2001/08/09 20:08:49 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.7 2001/08/23 04:24:22 jlam Exp $
#
# This Makefile fragment is included by packages that use Xaw3d.
#
@@ -29,6 +29,9 @@ BUILDLINK_FILES.Xaw3d+= lib/libXaw3d.*
BUILDLINK_TARGETS.Xaw3d+= Xaw3d-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.Xaw3d}
+LIBXAW?= -L${BUILDLINK_DIR}/lib -lXaw3d
+MAKE_ENV+= LIBXAW="${LIBXAW}"
+
pre-configure: ${BUILDLINK_TARGETS.Xaw3d}
Xaw3d-buildlink: _BUILDLINK_USE