pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics disallow direct use of {giflib,libungif}/bl3....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0ac90afd3e6
branches:  trunk
changeset: 586244:d0ac90afd3e6
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Mar 09 17:00:01 2011 +0000

description:
disallow direct use of {giflib,libungif}/bl3.mk so that mk/giflib.bl3.mk
can implement the global policy

diffstat:

 graphics/giflib/buildlink3.mk   |  6 +++++-
 graphics/libungif/buildlink3.mk |  6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 312c0fd1eea9 -r d0ac90afd3e6 graphics/giflib/buildlink3.mk
--- a/graphics/giflib/buildlink3.mk     Wed Mar 09 16:51:51 2011 +0000
+++ b/graphics/giflib/buildlink3.mk     Wed Mar 09 17:00:01 2011 +0000
@@ -1,4 +1,8 @@
-# $NetBSD: buildlink3.mk,v 1.2 2011/01/18 11:57:53 drochner Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2011/03/09 17:00:01 drochner Exp $
+
+.if !defined(MK_GIFLIB_BUILDLINK3_MK)
+PKG_FAIL_REASON= "please use giflib.buildlink3.mk"
+.endif
 
 BUILDLINK_TREE+=       giflib
 
diff -r 312c0fd1eea9 -r d0ac90afd3e6 graphics/libungif/buildlink3.mk
--- a/graphics/libungif/buildlink3.mk   Wed Mar 09 16:51:51 2011 +0000
+++ b/graphics/libungif/buildlink3.mk   Wed Mar 09 17:00:01 2011 +0000
@@ -1,4 +1,8 @@
-# $NetBSD: buildlink3.mk,v 1.11 2009/03/20 19:24:43 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2011/03/09 17:00:01 drochner Exp $
+
+.if !defined(MK_GIFLIB_BUILDLINK3_MK)
+PKG_FAIL_REASON= "please use giflib.buildlink3.mk"
+.endif
 
 BUILDLINK_TREE+=       libungif
 



Home | Main Index | Thread Index | Old Index