tech-pkg archive

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

(x11-links) FORCED_PKGSRC

I was concerned about the difference of packaged list in x11-links
with normal make and pbulk execution.

I have half figured out what makes this difference.
If you do following (with X11_TYPE=native) in x11-links
you will get the (logically) same list of difference.

NetBSD/amd64 6.1.2
modena@root 14:03:42/131122(/)% \
(cd /usr/pkgsrc/pkgtools/x11-links/; \
make show-var VARNAME=FORCED_PKGSRC)   

NetBSD/amd64 5.1
kuro@makoto 14:00:21/131122(..pkgtools/x11-links)% \
(cd /usr/pkgsrc/pkgtools/x11-links/; \
make show-var VARNAME=FORCED_PKGSRC)   
xf86driproto MesaLib glu glut libXfont libXft

If you apply attached patch, you will get more info

NetBSD/amd64 6.1.2
modena@root 14:03:51/131122(/)% \
(cd /usr/pkgsrc/pkgtools/x11-links/; \
fontconfig fontconfig printproto libXp libXprintUtil printproto xcb-util

NetBSD/amd64 5.1
kuro@makoto 14:06:36/131122(..pkgtools/x11-links)% 
(cd /usr/pkgsrc/pkgtools/x11-links/; \
make show-var VARNAME=FORCED_PKGSRC)   

freetype2 fontconfig glproto libdrm glproto libdrm
xf86vidmodeproto freetype2 MesaLib MesaLib glu glproto
freetype2 fontconfig freetype2 libdrm xcb-proto libxcb pixman
xcb-proto libxcb xcb-util xf86dgaproto xf86driproto
xf86vidmodeproto xkeyboard-config

For the first example as libXft listed,
builtin libXft is libXft-2.2.0 and it meets with
  BUILDLINK_API_DEPENDS  => libXft>=2.1.10
but other packages want pkgsrc side of libXft.

The execution at pbulk seems to follow this rule.
I have no idea how to fix yet, sorry.

Thanks for reading,
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

Index: mk/buildlink3/
RCS file: /cvs/cvsroot/pkgsrc/mk/buildlink3/,v
retrieving revision 1.223
diff -u -r1.223
--- mk/buildlink3/     8 Jun 2013 20:23:02 -0000       1.223
+++ mk/buildlink3/     22 Nov 2013 05:00:21 -0000
@@ -157,6 +157,7 @@
        # no builtin version or not using it
        #.say "${_stack_:C/.*/  /} ${_pkg_:S/^-//} pkgsrc"
+       FORCED_PKGSRC_BY+=${_pkg_:S/^-//}
 .    endif
      # pop the stack
 .    if ${_ok_} == yes

Home | Main Index | Thread Index | Old Index