diff options
author | chuck <chuck@pkgsrc.org> | 2008-11-21 17:36:43 +0000 |
---|---|---|
committer | chuck <chuck@pkgsrc.org> | 2008-11-21 17:36:43 +0000 |
commit | b2e7ca1fdd98c08f5a79daf1c27b03eaffb7a5a8 (patch) | |
tree | 1e1791422f0a3c59527b9d6d2e7cef06a7c6b9c2 /emulators/simh/Makefile | |
parent | 412a6758801d0866b40dbe1958325927ca91affd (diff) | |
download | pkgsrc-b2e7ca1fdd98c08f5a79daf1c27b03eaffb7a5a8.tar.gz |
in do-install:
Only attempt to install files (check with if [-f $BIN]).
on Darwin "cc -g -O" generates *.dSYM directories that
we should not try and install.
Diffstat (limited to 'emulators/simh/Makefile')
-rw-r--r-- | emulators/simh/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile index 558016e885c..6c30fbf4230 100644 --- a/emulators/simh/Makefile +++ b/emulators/simh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2008/11/01 05:15:42 obache Exp $ +# $NetBSD: Makefile,v 1.28 2008/11/21 17:36:43 chuck Exp $ # DISTNAME= simhv38-0 @@ -34,7 +34,9 @@ post-extract: do-install: (cd ${WRKSRC}/BIN && for BIN in *; do \ - ${INSTALL_PROGRAM} $$BIN ${DESTDIR}${PREFIX}/bin/simh-$$BIN; \ + if [ -f $$BIN ] ; then \ + ${INSTALL_PROGRAM} $$BIN ${DESTDIR}${PREFIX}/bin/simh-$$BIN; \ + fi ; \ done) ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/simh ${INSTALL_DATA} ${WRKSRC}/VAX/ka655x.bin ${DESTDIR}${PREFIX}/share/simh |