summaryrefslogtreecommitdiff
path: root/lang/smlnj/Makefile
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2016-07-03 19:18:46 +0000
committerdholland <dholland@pkgsrc.org>2016-07-03 19:18:46 +0000
commitfa25ccb78dba65fa24132cc6c7adf0966337d223 (patch)
tree4659269005c8b5a765e2b29ef7007f6e48214d42 /lang/smlnj/Makefile
parent310f870dcce257371b977d0b5697e9d0cbf9608d (diff)
downloadpkgsrc-fa25ccb78dba65fa24132cc6c7adf0966337d223.tar.gz
Honor the pkgsrc configure shell instead of using /bin/sh, as on some
platforms /bin/sh gets one something uselessly broken. Also, don't set MAKE to Solaris's make on Solaris; while this might be necessary building standalone, in pkgsrc it's foolish.
Diffstat (limited to 'lang/smlnj/Makefile')
-rw-r--r--lang/smlnj/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/lang/smlnj/Makefile b/lang/smlnj/Makefile
index 387b184a1d4..71a97cc41b7 100644
--- a/lang/smlnj/Makefile
+++ b/lang/smlnj/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2016/07/03 19:16:03 dholland Exp $
+# $NetBSD: Makefile,v 1.30 2016/07/03 19:18:46 dholland Exp $
#
DISTNAME= boot.${BOX}-unix
@@ -118,13 +118,21 @@ SUBST_MESSAGE.cflags= Setting CFLAGS
SUBST_FILES.cflags= src/runtime/objs/* base/runtime/objs/*
SUBST_VARS.cflags= CFLAGS
+# use the proper shell
+SUBST_CLASSES+= shell
+SUBST_STAGE.shell= pre-configure
+SUBST_MESSAGE.shell= Choosing the right shell
+SUBST_FILES.shell= config/install.sh
+SUBST_VARS.shell= CONFIG_SHELL
+
# nothing here any more
do-configure:
${DO_NADA}
# The build target needs to run $WRKDIR/config/install.sh
do-build:
- cd ${WRKDIR} && unset PWD && ${SETENV} ${BUILD_ENV} ./config/install.sh
+ cd ${WRKDIR} && unset PWD && ${SETENV} ${BUILD_ENV} \
+ ${CONFIG_SHELL} ./config/install.sh
# install target
# (see ftp://ftp.research.bell-labs.com/dist/smlnj/working/110.38/INSTALL)