pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/scons add a dependency on py-xml



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b370dc0b042
branches:  trunk
changeset: 498292:4b370dc0b042
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Aug 19 11:16:57 2005 +0000

description:
add a dependency on py-xml
This is not necessary for normal scons use, but there is an extension
"bksys" which needs XML.
Since scons users do not necessarily use Python theirselfes, a buildtime
dependency on px-xml-for-the-python-version-used-by-scons would be needed
which I don't see an easy and robust way for.
bump PKGREVISION

diffstat:

 devel/scons/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r cbae3e512a62 -r 4b370dc0b042 devel/scons/Makefile
--- a/devel/scons/Makefile      Fri Aug 19 10:24:25 2005 +0000
+++ b/devel/scons/Makefile      Fri Aug 19 11:16:57 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:45:38 tv Exp $
+# $NetBSD: Makefile,v 1.6 2005/08/19 11:16:57 drochner Exp $
 #
 
 DISTNAME=              scons-0.96.1
+PKGREVISION=           1
 CATEGORIES=            devel
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=scons/}
 
@@ -11,10 +12,18 @@
 
 PYDISTUTILSPKG=                yes
 
+# XXX The dependency on py-xml below is not needed for
+# standard operation. There is an extension to scons (bksys)
+# however which needs XML processing. Putting a dependency
+# on px-xml-for-the-python-version-used-by-scons elsewhere
+# would be too complicated.
+
 post-install:
        ${INSTALL_MAN} ${WRKSRC}/scons.1 ${PREFIX}/man/man1
        ${INSTALL_MAN} ${WRKSRC}/sconsign.1 ${PREFIX}/man/man1
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
+# XXX see comment above
+.include "../../textproc/py-xml/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index