pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/uqm Ensure we use a sane shell. Fixes build on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3cdb51d0c385
branches:  trunk
changeset: 639780:3cdb51d0c385
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Sep 25 12:57:04 2014 +0000

description:
Ensure we use a sane shell.  Fixes build on SunOS.

diffstat:

 games/uqm/Makefile |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r bd18b743df8d -r 3cdb51d0c385 games/uqm/Makefile
--- a/games/uqm/Makefile        Thu Sep 25 12:55:52 2014 +0000
+++ b/games/uqm/Makefile        Thu Sep 25 12:57:04 2014 +0000
@@ -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_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 \



Home | Main Index | Thread Index | Old Index