pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/compiz-bcop -make this a build dependency by def...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9e3fbb7c43d
branches:  trunk
changeset: 542381:a9e3fbb7c43d
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed May 14 16:40:20 2008 +0000

description:
-make this a build dependency by default, if is used to generate source
 code during the build (if at all - currently it is unused unless
 someone patches xml metadata in compiz plugin sources)
-it needs bash and GNU getopt to work correctly

diffstat:

 devel/compiz-bcop/Makefile      |  13 ++++++++++---
 devel/compiz-bcop/buildlink3.mk |  10 +++++-----
 2 files changed, 15 insertions(+), 8 deletions(-)

diffs (52 lines):

diff -r c39e55d4ee09 -r a9e3fbb7c43d devel/compiz-bcop/Makefile
--- a/devel/compiz-bcop/Makefile        Wed May 14 16:36:18 2008 +0000
+++ b/devel/compiz-bcop/Makefile        Wed May 14 16:40:20 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/05/12 12:40:32 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2008/05/14 16:40:20 drochner Exp $
 #
 
 DISTNAME=      compiz-bcop-0.6.0
@@ -10,11 +10,18 @@
 COMMENT=       Option code generator for compiz
 
 GNU_CONFIGURE=         yes
-USE_TOOLS+=            intltool pkg-config msgfmt
+USE_TOOLS+=            intltool pkg-config msgfmt bash:run
 USE_PKGLOCALEDIR=      yes
 USE_LIBTOOL=           yes
 
 PKGCONFIG_OVERRIDE+=   bcop.pc.in
+DEPENDS+=      getopt-[0-9]*:../../misc/getopt
+REPLACE_BASH+= src/bcop.in
 
-.include "../../wm/compiz/buildlink3.mk"
+SUBST_CLASSES+=        getopt
+SUBST_STAGE.getopt=    pre-configure
+SUBST_FILES.getopt=    src/bcop.in
+SUBST_SED.getopt=      "s|getopt|${LOCALBASE}/bin/getopt|"
+
+.include "../../textproc/libxslt/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c39e55d4ee09 -r a9e3fbb7c43d devel/compiz-bcop/buildlink3.mk
--- a/devel/compiz-bcop/buildlink3.mk   Wed May 14 16:36:18 2008 +0000
+++ b/devel/compiz-bcop/buildlink3.mk   Wed May 14 16:40:20 2008 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/05/12 12:40:32 jmcneill Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2008/05/14 16:40:20 drochner Exp $
 
-BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+BUILDLINK_DEPMETHOD.compiz-bcop?=      build
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
 COMPIZ_BCOP_BUILDLINK3_MK:=    ${COMPIZ_BCOP_BUILDLINK3_MK}+
 
 .if ${BUILDLINK_DEPTH} == "+"
@@ -16,6 +18,4 @@
 BUILDLINK_PKGSRCDIR.compiz-bcop?=      ../../devel/compiz-bcop
 .endif # COMPIZ_BCOP_BUILDLINK3_MK
 
-.include "../../wm/compiz/buildlink3.mk"
-
-BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index