pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/simh in do-install:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3533d103402e
branches:  trunk
changeset: 550419:3533d103402e
user:      chuck <chuck%pkgsrc.org@localhost>
date:      Fri Nov 21 17:36:43 2008 +0000

description:
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:

 emulators/simh/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r ed766a4456f6 -r 3533d103402e emulators/simh/Makefile
--- a/emulators/simh/Makefile   Fri Nov 21 17:36:27 2008 +0000
+++ b/emulators/simh/Makefile   Fri Nov 21 17:36:43 2008 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index