pkgsrc-Bugs archive

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

Re: pkg/46095: X11 version cannot be determined



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

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/46095: X11 version cannot be determined
Date: Sun, 26 Feb 2012 01:39:07 +0900

 On Sun, 26 Feb 2012 01:10:01 +0900, <Christoph_Egger%gmx.de@localhost> wrote:
 
 > When compiling a package, I see this warning:
 >
 > bmake: "../../pkgtools/x11-links/../../pkgtools/x11-links/xorg-version.mk" 
 > line 38: warning: Couldn't read shell's output for "/usr/X11R6/bin/Xquartz 
 > -version 2>&1 |                    /usr/bin/awk '/X.org Release / { print $3 
 > }'"
 
 How about apply following patch?
 
 Index: pkgtools/x11-links/version.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/pkgtools/x11-links/version.mk,v
 retrieving revision 1.5
 diff -u -r1.5 version.mk
 --- pkgtools/x11-links/version.mk       30 Jan 2011 17:26:32 -0000      1.5
 +++ pkgtools/x11-links/version.mk       25 Feb 2012 16:34:10 -0000
 @@ -16,7 +16,7 @@
   .  include "xorg-version.mk"
   .  include "xfree-version.mk"
 
 -.  if defined(BUILTIN_X11_VERSION.xorg)
 +.  if defined(BUILTIN_X11_VERSION.xorg) && !empty(BUILTIN_X11_VERSION.xorg)
   BUILTIN_X11_TYPE.native=       ${BUILTIN_X11_TYPE.xorg}
   BUILTIN_X11_VERSION.native=    ${BUILTIN_X11_VERSION.xorg}
   .  elif defined(BUILTIN_X11_VERSION.XFree86)
 Index: pkgtools/x11-links/xorg-version.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/pkgtools/x11-links/xorg-version.mk,v
 retrieving revision 1.2
 diff -u -r1.2 xorg-version.mk
 --- pkgtools/x11-links/xorg-version.mk  9 Sep 2011 09:08:07 -0000       1.2
 +++ pkgtools/x11-links/xorg-version.mk  25 Feb 2012 16:34:10 -0000
 @@ -34,6 +34,7 @@
   .if !defined(BUILTIN_X11_VERSION.xorg)
   .  if exists(${XQUARTZ})
   BUILTIN_X11_VERSION.xorg!=                             \
 +       ${ECHO};                                        \
          ${XQUARTZ} -version 2>&1 |                      \
          ${AWK} '/X.org Release / { print $$3 }'
   .  elif exists(${BUILTIN_XORG_VERSION_FILE})
 
 
 
 >> How-To-Repeat:
 >
 > Build a package on MacOSX 10.4 with X11_TYPE=native.
 
 It should not be used by default.
 
 Index: mk/platform/Darwin.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/mk/platform/Darwin.mk,v
 retrieving revision 1.47
 diff -u -r1.47 Darwin.mk
 --- mk/platform/Darwin.mk       10 Sep 2011 16:30:02 -0000      1.47
 +++ mk/platform/Darwin.mk       25 Feb 2012 16:36:52 -0000
 @@ -17,7 +17,7 @@
 
   # Tiger (and earlier) use Xfree 4.4.0 (and earlier)
   .if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
 -X11_TYPE?=     native
 +X11_TYPE?=     modular
   .endif
 
   .if !defined(CPP) || ${CPP} == "cpp"
 
 
 -- 
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index