summaryrefslogtreecommitdiff
path: root/x11/Xaw-Xpm
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
commitefb93b17bd48d49105d00f52887445a53f7cd60b (patch)
treec69c41be2f3b44bedceeee7e348c2ae58c476c6a /x11/Xaw-Xpm
parent653dc760d3901b3c7e67803c589352e8353a5030 (diff)
downloadpkgsrc-efb93b17bd48d49105d00f52887445a53f7cd60b.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
Diffstat (limited to 'x11/Xaw-Xpm')
-rw-r--r--x11/Xaw-Xpm/buildlink2.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/Xaw-Xpm/buildlink2.mk b/x11/Xaw-Xpm/buildlink2.mk
new file mode 100644
index 00000000000..8aaaac7e5c9
--- /dev/null
+++ b/x11/Xaw-Xpm/buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:23:26 jlam Exp $
+
+.if !defined(XAWXPM_BUILDLINK2_MK)
+XAWXPM_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= Xaw-Xpm
+BUILDLINK_DEPENDS.Xaw-Xpm?= Xaw-Xpm-1.1
+BUILDLINK_PKGSRCDIR.Xaw-Xpm?= ../../x11/Xaw-Xpm
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.Xaw-Xpm=Xaw-Xpm
+BUILDLINK_PREFIX.Xaw-Xpm_DEFAULT= ${X11PREFIX}
+BUILDLINK_FILES.Xaw-Xpm= include/X11/Xaw3d/*
+BUILDLINK_FILES.Xaw-Xpm+= lib/libXaw3d.*
+
+.include "../../graphics/xpm/buildlink2.mk"
+
+BUILDLINK_TARGETS+= Xaw-Xpm-buildlink
+
+LIBXAW?= -L${BUILDLINK_PREFIX.Xaw-Xpm}/lib \
+ -L${BUILDLINK_PREFIX.xpm}/lib -lXaw3d -lXpm
+
+Xaw-Xpm-buildlink: _BUILDLINK_USE
+
+.endif # XAWXPM_BUILDLINK2_MK