Sat May 17 20:51:31 2008 UTC ()
# 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.


(tnn)
diff -r1.2 -r1.3 pkgsrc/x11/xsm/Makefile

cvs diff -r1.2 -r1.3 pkgsrc/x11/xsm/Makefile (expand / switch to context diff)
--- pkgsrc/x11/xsm/Makefile 2007/06/19 09:39:15 1.2
+++ pkgsrc/x11/xsm/Makefile 2008/05/17 20:51:31 1.3
@@ -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
@@ -17,6 +17,14 @@
 USE_TOOLS+=		pkg-config
 
 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"