ports/112806: x11/xorg doesn't build on a system with
NO_RCMDS=yes
Olivier
olivier at gid0.org
Sun May 20 15:30:10 UTC 2007
The following reply was made to PR ports/112806; it has been noted by GNATS.
From: Olivier <olivier at gid0.org>
To: bug-followup at freebsd.org
Cc:
Subject: Re: ports/112806: x11/xorg doesn't build on a system with
NO_RCMDS=yes
Date: Sun, 20 May 2007 16:55:49 +0200 (CEST)
----- "Edwin Groothuis" <edwin at FreeBSD.org> wrote:
> Synopsis: x11/xorg doesn't build on a system with NO_RCMDS=yes
>
> Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11
> Responsible-Changed-By: edwin
> Responsible-Changed-When: Sun May 20 14:10:10 UTC 2007
> Responsible-Changed-Why:
> Over to maintainer
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=112806
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
Here is a patch to make x11/xsm compile without rsh and friends. The trick is to define "RSH" to something useful. In debian, RSH=/usr/bin/ssh. But if we do that, x11/xsm will be broken without SSH, SSL or CRYPTO in the base system. I used successfully "RSH=/dev/null" :)
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# /usr/ports/x11/xsm/files/patch-configure
#
echo x - /usr/ports/x11/xsm/files/patch-configure
sed 's/^X//' >/usr/ports/x11/xsm/files/patch-configure << 'END-of-/usr/ports/x11/xsm/files/patch-configure'
X--- configure.old Sun May 20 16:29:56 2007
X+++ configure Sun May 20 16:30:06 2007
X@@ -2915,7 +2915,7 @@
X test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
X
X
X-RSH=
X+RSH=/dev/null
X if [ -z $RSH ] ; then
X # Extract the first word of "rsh", so it can be a program name with args.
X set dummy rsh; ac_word=$2
END-of-/usr/ports/x11/xsm/files/patch-configure
exit
--
Olivier _
ASCII ribbon campaign ( )
e-mail: olivier at gid0.org - against HTML email & vCards X
www: http://www.gid0.org - against proprietary attachments / \
"Il y a seulement 10 sortes de gens dans le monde :
ceux qui comprennent le binaire,
et ceux qui ne le comprennent pas."
More information about the freebsd-x11
mailing list