summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-25 18:49:36 +0000
committerminskim <minskim@pkgsrc.org>2004-02-25 18:49:36 +0000
commit119d2da75330da77ccb80aed82ce76e6417869c1 (patch)
tree45e8e5e918f5f3bf9b9aa6e2223fd2aff8a8e39f /emulators
parente2e9da5784b80d3558af9d8e4560e0757b457a9a (diff)
downloadpkgsrc-119d2da75330da77ccb80aed82ce76e6417869c1.tar.gz
Add new buildlink3.mk.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/libspectrum/buildlink3.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/emulators/libspectrum/buildlink3.mk b/emulators/libspectrum/buildlink3.mk
new file mode 100644
index 00000000000..7b7f678f606
--- /dev/null
+++ b/emulators/libspectrum/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/25 18:49:36 minskim Exp $
+#
+# This Makefile fragment is included by packages that use libspectrum.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBSPECTRUM_BUILDLINK3_MK:= ${LIBSPECTRUM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libspectrum
+.endif
+
+.if !empty(LIBSPECTRUM_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libspectrum
+BUILDLINK_DEPENDS.libspectrum+= libspectrum>=0.2.1
+BUILDLINK_PKGSRCDIR.libspectrum?= ../../emulators/libspectrum
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+
+.endif # LIBSPECTRUM_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}