pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/festival Copy files only when they exist.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/157d24f6c54a
branches:  trunk
changeset: 495266:157d24f6c54a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Jun 06 03:08:18 2005 +0000

description:
Copy files only when they exist.

diffstat:

 audio/festival/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r b6c717b64ebc -r 157d24f6c54a audio/festival/Makefile
--- a/audio/festival/Makefile   Mon Jun 06 03:07:25 2005 +0000
+++ b/audio/festival/Makefile   Mon Jun 06 03:08:18 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2005/06/01 18:02:37 jlam Exp $
+# $NetBSD: Makefile,v 1.41 2005/06/06 03:08:18 minskim Exp $
 
 DISTNAME=      festival-1.95-beta
 PKGNAME=       festival-1.95beta
@@ -66,8 +66,10 @@
 
 post-patch:
        @${CP} ${FILESDIR}/top-Makefile ${WRKSRC}/Makefile
+.if exists(${FILESDIS}/unknown_${OPSYS}.mak)
        @${CP} ${FILESDIR}/unknown_${OPSYS}.mak ${SPEECHTOOLS}/config/systems/unknown_${OPSYS}.mak
        @${CP} ${FILESDIR}/unknown_${OPSYS}.mak ${FESTIVAL}/config/systems/unknown_${OPSYS}.mak
+.endif
 
 do-configure:
        cd ${SPEECHTOOLS} && ${ENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}



Home | Main Index | Thread Index | Old Index