pkgsrc-Bugs archive

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

Re: pkg/43969: graphics/cairo does not build on netbsd-4



The following reply was made to PR pkg/43969; it has been noted by GNATS.

From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost, abs%netbsd.org@localhost,
        Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
Subject: Re: pkg/43969: graphics/cairo does not build on netbsd-4
Date: Tue, 19 Apr 2011 17:56:20 +0200

 In the light of
 <http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44359>, I
 applied the following patch:
 
 % cvs diff -u x11/renderproto/buildlink3.mk
 Index: x11/renderproto/buildlink3.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/x11/renderproto/buildlink3.mk,v
 retrieving revision 1.14
 diff -u -p -u -r1.14 buildlink3.mk
 --- x11/renderproto/buildlink3.mk       22 Dec 2010 23:41:30 -0000      1.14
 +++ x11/renderproto/buildlink3.mk       19 Apr 2011 15:41:58 -0000
 @@ -9,7 +9,9 @@ RENDERPROTO_BUILDLINK3_MK:=
 
  .if ${X11_TYPE} == "native"
  . include "../../mk/x11.buildlink3.mk"
 -. if ${BUILTIN_X11_TYPE.native} == "XFree86"
 +. if ${BUILTIN_X11_TYPE.native} == "XFree86" || \
 +     ${BUILTIN_X11_TYPE.native} == "xorg" && \
 +     empty(BUILTIN_X11_VERSION.xorg)
  RENDERPROTO_RENDERPROTO9=1
  . endif
  .endif
 %
 
 On netbsd-4, this leads to building renderproto9, on netbsd-5, renderproto
 is built... so far, so good.
 
 Building x11/Xrender, though, fails in the "configure" phase, because its
 .buildlink/lib/ has a renderproto.pc in place of the expected render.pc.
 Turns out that re-directing BUILDLINK_PKGSRCDIR.renderproto means
 builtin.mk is expected at the new location (renderproto9), which I "fixed"
 with a symlink.
 
 Is there a variable that can point from x11/renderproto9 to
 x11/renderproto/builtin.mk, or would we have to duplicate the file?
 
 hauke
 
 -- 
 ... maze of little packages, all alike ...
 


Home | Main Index | Thread Index | Old Index