summaryrefslogtreecommitdiff
path: root/emulators/atari800/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-07-22 12:03:38 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-07-22 12:03:38 +0000
commit8a6b9887fe83422707c2dcd0469df7d8cc34351c (patch)
treea553973747d3e8e0dc02a40cf98d5f2bdbb23cfe /emulators/atari800/Makefile
parent76abbc961279fb7b4d43ba6857ea0d16aeb58797 (diff)
downloadpkgsrc-8a6b9887fe83422707c2dcd0469df7d8cc34351c.tar.gz
override HOME during the build otherwise the build system attemts to access
$HOME/.atari800 which may or may not be readable. In addition, it may not have correct settings. This fixes recently noted compile problems.
Diffstat (limited to 'emulators/atari800/Makefile')
-rw-r--r--emulators/atari800/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/emulators/atari800/Makefile b/emulators/atari800/Makefile
index bd7afab9b1a..675a2284bd9 100644
--- a/emulators/atari800/Makefile
+++ b/emulators/atari800/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/02/20 22:05:37 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2000/07/22 12:03:38 dmcmahill Exp $
DISTNAME= Atari800-0.9.9a
PKGNAME= atari800-0.9.9a
@@ -20,6 +20,8 @@ MIRROR_DISTFILE=no
EXTRACT_CMD= unzip -Loq ${DOWNLOADED_DISTFILE}
MAKE_FLAGS= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" OBJ="atari_x11.o" \
CFLAGS="-c ${CFLAGS} -DPREFIX=\\\"${PREFIX}\\\""
+#override HOME to avoid picking up a bad ${HOME}/.atari800 during the build
+MAKE_ENV+= HOME=${WRKSRC}
post-extract:
@${FIND} ${WRKDIR} -type f -print | xargs ${CHMOD} 0644