summaryrefslogtreecommitdiff
path: root/x11/xsm
diff options
context:
space:
mode:
authortnn <tnn>2008-05-17 20:51:31 +0000
committertnn <tnn>2008-05-17 20:51:31 +0000
commitc8e768883164a17ce0318d7b8aa9c0e5036ee422 (patch)
treeb0ddf2d0fb909174d2e33ccd031e2aea197982e7 /x11/xsm
parent33ad6a7e7ff9edd39a5cab96bdde34433e7b121c (diff)
downloadpkgsrc-c8e768883164a17ce0318d7b8aa9c0e5036ee422.tar.gz
# 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 (limited to 'x11/xsm')
-rw-r--r--x11/xsm/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/xsm/Makefile b/x11/xsm/Makefile
index fea8fb0c5f6..c4adc09bdea 100644
--- a/x11/xsm/Makefile
+++ b/x11/xsm/Makefile
@@ -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 @@ 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"
.include "../../mk/bsd.pkg.mk"