diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-09-25 12:57:04 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-09-25 12:57:04 +0000 |
commit | 1943fdf614d54a4b6604366203035deaa1024f3e (patch) | |
tree | 5724678a76a93eea00e37a21415e5e55607ab431 /games/uqm | |
parent | d2075328a49f5280fe5e3eede54956de221918a7 (diff) | |
download | pkgsrc-1943fdf614d54a4b6604366203035deaa1024f3e.tar.gz |
Ensure we use a sane shell. Fixes build on SunOS.
Diffstat (limited to 'games/uqm')
-rw-r--r-- | games/uqm/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/games/uqm/Makefile b/games/uqm/Makefile index 13e005b0f85..391d38d1721 100644 --- a/games/uqm/Makefile +++ b/games/uqm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2013/04/14 05:22:34 dholland Exp $ +# $NetBSD: Makefile,v 1.3 2014/09/25 12:57:04 jperkin Exp $ # DISTNAME= uqm-0.7.0-source @@ -46,17 +46,19 @@ SUBST_FILES.config= config.state SUBST_SED.config+= -e 's;opengl;pure;' # Disable OpenGL support SUBST_SED.config+= -e 's;/usr/local/games;${PREFIX};' +REPLACE_SH= build.sh build/unix/recurse + INSTALLATION_DIRS= bin lib/uqm share/uqm/content/packages share/doc/uqm do-configure: - cd ${WRKSRC} && ${SH} ./build.sh uqm config + cd ${WRKSRC} && env SH=${SH} ./build.sh uqm config do-build: - cd ${WRKSRC} && ${SH} ./build.sh uqm reprocess_config && \ - ${SH} ./build.sh uqm + cd ${WRKSRC} && env SH=${SH} ./build.sh uqm reprocess_config && \ + env SH=${SH} ./build.sh uqm do-install: - cd ${WRKSRC} && env DESTDIR=${DESTDIR} ${SH} ./build.sh uqm install + cd ${WRKSRC} && env DESTDIR=${DESTDIR} SH=${SH} ./build.sh uqm install ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/uqm-0.7.0-content.uqm \ ${DESTDIR}${PREFIX}/share/uqm/content/packages ${INSTALL_DATA} ${WRKSRC}/doc/users/manual.txt \ |