tech-pkg archive

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

compound depends



Right now if you go to multimedia/gxine and do 'make show-depends',
you get a stray message

   sh: cannot open 2.0: no such file

along with the depends list. This turns out to be coming from the
xulrunner192 bl3 file, which includes the depends entry
"xulrunner192>=1.9.2.17nb2<2.0". Snader_LB pointed this out on
freenode last night and also observed that if the nb2 is removed, the
message goes away; IOW, whatever is handling this and leaving the <2.0
behind for the shell is apparently also not parsing version numbers
correctly. I have yet to track down what that is; however, I have two
questions:

1) is that depends entry supposed to work the way it is, or should it
be split up, as per the following patch?

2) is there a canonical reference for the syntax of depends entries?



Index: buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/devel/xulrunner192/buildlink3.mk,v
retrieving revision 1.5
diff -u -r1.5 buildlink3.mk
--- buildlink3.mk       20 Aug 2011 13:05:49 -0000      1.5
+++ buildlink3.mk       24 Oct 2011 10:29:47 -0000
@@ -10,7 +10,8 @@
 xulrunner192-preconfigure:
        cp ${PREFIX}/lib/xulrunner192/pkgconfig/* ${BUILDLINK_DIR}/lib/pkgconfig
 
-BUILDLINK_API_DEPENDS.xulrunner192+=   xulrunner192>=1.9.2.17nb2<2.0
+BUILDLINK_API_DEPENDS.xulrunner192+=   xulrunner192>=1.9.2.17nb2
+BUILDLINK_API_DEPENDS.xulrunner192+=   xulrunner192<2.0
 BUILDLINK_PKGSRCDIR.xulrunner192?=     ../../devel/xulrunner192
 
 pkgbase := xulrunner192


-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index