summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant>2003-10-18 11:53:48 +0000
committergrant <grant>2003-10-18 11:53:48 +0000
commit344ac8b7706aaaff7176c2e4725f5e0e3756c22b (patch)
treef56db3c19034f78426246bfef2e0f3c0a62e45dd
parent01c06b8a1f9608cdf92fd4a1cb2738d11fff8fdc (diff)
downloadpkgsrc-344ac8b7706aaaff7176c2e4725f5e0e3756c22b.tar.gz
as this is ONLY_FOR_PLATFORM Linux and NetBSD, don't try to buildlink
it if we're on a different platform.
-rw-r--r--audio/cdparanoia/buildlink2.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/cdparanoia/buildlink2.mk b/audio/cdparanoia/buildlink2.mk
index 2e897d3ac78..5f641a0e7f1 100644
--- a/audio/cdparanoia/buildlink2.mk
+++ b/audio/cdparanoia/buildlink2.mk
@@ -1,8 +1,11 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:21:46 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.3 2003/10/18 11:53:48 grant Exp $
.if !defined(CDPARANOIA_BUILDLINK2_MK)
CDPARANOIA_BUILDLINK2_MK= # defined
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD"
BUILDLINK_PACKAGES+= cdparanoia
BUILDLINK_DEPENDS.cdparanoia?= cdparanoia>=3.0
BUILDLINK_PKGSRCDIR.cdparanoia?= ../../audio/cdparanoia
@@ -16,5 +19,6 @@ BUILDLINK_FILES.cdparanoia+= lib/libcdda_interface.*
BUILDLINK_TARGETS+= cdparanoia-buildlink
cdparanoia-buildlink: _BUILDLINK_USE
+.endif # OPSYS == Linux || NetBSD
.endif # CDPARANOIA_BUILDLINK2_MK