Cleaning up the /usr/X11R6 symlink on package builds
Joe Marcus Clarke
marcus at marcuscom.com
Mon Jun 4 18:22:45 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dejan Lesjak wrote:
> On Sunday 03 June 2007 19:38:30 Joe Marcus Clarke wrote:
>> x11/xorg-libraries appears to be broken in Tinderbox and probably on
>> pointyhat due to the leftover /usr/X11R6 symlink:
>>
>> http://www.marcuscom.com/tb/logs/6.2-FreeBSD/xorg-libraries-7.2_1.log
>>
>> Either it needs to cleanup the symlink that it creates on deinstall, or
>> check to see if PACKAGE_BUILDING is not defined before creating the
>> symlink.
>
> When user first installs X.org on clean FreeBSD we shouldn't just error out,
> pointing user to UPDATING, thus the automatic creation of symlink. From above
> options... I don't think it would be nice to remove the symlink upon, for
> example, upgrading xorg-libraries port (and possibly break some application
> that would want to do something with /usr/X11R6 in the time symlink is gone).
> And if it is created, it needs to be created both via port and via package,
> so using PACKAGE_BUILDING doesn't help, unless I misunderstood what you
> meant.
> The only alternative I can think of is to not create the link automatically,
> but print out a message requiring user to create it. Either allowing the
> build to proceed or forcing it and erroring out like before, but with
> additional "If this is your first install of X.org libraries,
> create /usr/X11R6 -> /usr/local symlink." to the existing pointer to
> UPDATING. This would be IMHO a bit less nice to users, but more friendly to
> pointyhat and tinderbox.
> Any other options?
I suppose the build scripts could be modified to ignore /usr/X11R6.
Kris might want to chime in that so I've copied him.
Joe
- --
PGP Key : http://www.marcuscom.com/pgp.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGZFigb2iPiv4Uz4cRAlCtAJ0SMZgBq1U1dtBpUM4hbpQHP+gVVACgkTlK
Cf34JcjEwd0AciAoy5g+Amk=
=lDiq
-----END PGP SIGNATURE-----
More information about the freebsd-x11
mailing list