tech-pkg archive

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

Re: DISPLAY, xauth and buildlink3.mk (x11/gnome-applets invest applet)



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}

Attachment: pgpAh1HpMP1jk.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index