pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xsm # Most modern Linuxen don't come with rcmds by...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a3ed19edfc6e
branches:  trunk
changeset: 542449:a3ed19edfc6e
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat May 17 20:51:31 2008 +0000

description:
# Most modern Linuxen don't come with rcmds by default,
# so just pretend to have them to keep configure happy.

This is PR pkg/37912.

diffstat:

 x11/xsm/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r ff8c702d6997 -r a3ed19edfc6e x11/xsm/Makefile
--- a/x11/xsm/Makefile  Sat May 17 20:35:40 2008 +0000
+++ b/x11/xsm/Makefile  Sat May 17 20:51:31 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/06/19 09:39:15 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2008/05/17 20:51:31 tnn Exp $
 #
 
 DISTNAME=              xsm-1.0.1
@@ -18,6 +18,14 @@
 
 CONFIGURE_ENV+=                APP_MAN_SUFFIX=1
 
+.include "../../mk/bsd.prefs.mk"
+
+# Most modern Linuxen don't come with rcmds by default,
+# so just pretend to have them to keep configure happy.
+.if !exists(/usr/bin/rsh)
+CONFIGURE_ENV+=                ac_cv_path_RSH=/usr/bin/rsh
+.endif
+
 .include "../../x11/libXaw/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index