pkgsrc-Users archive

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

builtin.mk files bypassed



I am using X11_TYPE=xorg-libs (on DragonFly).

For some reason, when I am building in devel/GConf2-ui, the builtin.mk 
files for x11/xproto and x11/xextproto are ignored. (I actually put a typo 
on the file to test and also can see it is ignored in the "bmake -d A" 
output).

But they are used when doing a build inside of wm/metacity.

Any ideas on why the x11/xproto and x11/xextproto builtin.mk files are 
used for wm/metacity but not devel/GConf2-ui ??

For example, for metacity (which works):

pkgbox:/build/reed/pkgsrc-clean/pkgsrc/wm/metacity> egrep 
'xproto|xextproto' work.reed/.extract_makevars.mk 
IS_BUILTIN.xextproto=   yes
IS_BUILTIN.xproto=      yes
USE_BUILTIN.xextproto=  yes
USE_BUILTIN.xproto=     yes

And for GConf2-ui (which is not working):

pkgbox:/build/reed/pkgsrc-clean/pkgsrc/devel/GConf2-ui> egrep 
'xproto|xextproto' work.reed/.extract_makevars.mk

(no output)

The problem in building GConf2-ui is that it also builds and installs 
xextproto and xproto for no reason.


When I view BUILDLINK_PACKAGES it shows the "xextproto xproto" for both of 
these packages.

Also to troubleshoot I added:

--- mk/buildlink3/bsd.buildlink3.mk     14 Apr 2006 16:59:04 -0000      1.174
+++ mk/buildlink3/bsd.buildlink3.mk     19 Apr 2006 14:55:23 -0000@@ -106,6 
+106,7 @@
 #
 .for _pkg_ in ${BUILDLINK_PACKAGES}
 BUILDLINK_BUILTIN_MK.${_pkg_}?=        
${BUILDLINK_PKGSRCDIR.${_pkg_}}/builtin.mk
+JEREMY+=${_pkg_}
 .  sinclude "${BUILDLINK_BUILTIN_MK.${_pkg_}}"
 .endfor

When I show-var VARNAME=JEREMY for metacity it shows the xproto and 
xextproto. But not when doing this in devel/GConf2-ui.

I compared the sorted, line-by-line output of BUILDLINK_PACKAGES and 
JEREMY for metacity and they are identical. But for devel/GConf2-ui, it is 
missing:

-Xfixes
-fixesproto
-xextproto
-xproto

Any ideas about this?

Jeremy C. Reed

p.s. My workaround for devel/GConf2-ui is the following, but I don't think 
that should be needed.

Index: x11/xorg-libs/builtin.mk
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xorg-libs/builtin.mk,v
retrieving revision 1.6
diff -u -r1.6 builtin.mk
--- x11/xorg-libs/builtin.mk    18 Apr 2006 19:48:30 -0000      1.6
+++ x11/xorg-libs/builtin.mk    19 Apr 2006 14:41:10 -0000
@@ -78,5 +78,7 @@
 USE_BUILTIN.Xfixes=    yes
 USE_BUILTIN.Xcomposite=        yes
 USE_BUILTIN.renderproto=       yes
+USE_BUILTIN.xextproto= yes
+USE_BUILTIN.xproto=    yes
 
 .endif # CHECK_BUILTIN.xorg-libs




Home | Main Index | Thread Index | Old Index