aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/stonx/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/emulators/stonx/Makefile b/emulators/stonx/Makefile
index 32547f6de8b4..50b668e35913 100644
--- a/emulators/stonx/Makefile
+++ b/emulators/stonx/Makefile
@@ -20,12 +20,10 @@ TOSIMG= tos.img
USE_X_PREFIX= yes
HAS_CONFIGURE= yes
-pre-fetch:
- @if [ ! -f ${DISTDIR}/${TOSIMG} ]; then \
- ${ECHO} "Please get a ROM dump from your AtariST and"; \
- ${ECHO} "put it as \"${TOSIMG}\" in \"${DISTDIR}\" manually."; \
- exit 1; \
- fi
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
+IGNORE="Please get a ROM dump from your AtariST and save it as"\
+"\"${TOSIMG}\" in \"${DISTDIR}\" manually, and then make install again"
+.endif
pre-build:
${CP} ${DISTDIR}/tos.img ${WRKSRC}