pkgsrc-Users archive

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

Re: gnome-applets PLIST trouble



I remember what the trouble is, and also I saw an "X11 connection
rejected because of wrong authentication" message on my build.

Any way to unset DISPLAY?  Is that ok?

  From: Greg Troxel <gdt%ir.bbn.com@localhost>
  Subject: Re: DISPLAY, xauth and buildlink3.mk (x11/gnome-applets invest 
applet)
  To: tech-pkg%netbsd.org@localhost
  Date: Wed, 15 Oct 2008 11:37:23 -0400

  [[PGP Signed Part:Good signature from FAF7ACA032611E25 Gregory D. Troxel 
<gdt%ir.bbn.com@localhost> (trust ultimate) created at 2008-10-15T11:37:23-0400 
using DSA]]

  The following pach takes DISPLAY out of the build (or makes it null),
  and with that gnome-applets builds correctly.  It seems generally good
  to reduce interactins with the user's environment, but I'd rather "unset
  DISPLAY" than bash it to empty.  OK to commit, or better idea?

  Index: mk/bsd.pkg.mk
  ===================================================================
  RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
  retrieving revision 1.1952
  diff -u -p -r1.1952 bsd.pkg.mk
  --- mk/bsd.pkg.mk     22 Sep 2008 14:52:07 -0000      1.1952
  +++ mk/bsd.pkg.mk     15 Oct 2008 15:34:57 -0000
  @@ -194,6 +194,7 @@ ALL_ENV+= CPPFLAGS=${CPPFLAGS:M*:Q}
   ALL_ENV+=    CXX=${CXX:Q}
   ALL_ENV+=    CXXFLAGS=${CXXFLAGS:M*:Q}
   ALL_ENV+=    COMPILER_RPATH_FLAG=${COMPILER_RPATH_FLAG:Q}
  +ALL_ENV+=    DISPLAY=
   ALL_ENV+=    F77=${FC:Q}
   ALL_ENV+=    FC=${FC:Q}
   ALL_ENV+=    FFLAGS=${FFLAGS:M*:Q}

  [[End of PGP Signed Part]]

Attachment: pgpsQiMMNOkZX.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index