pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/analog Build with "-DNOGLOB" on platforms which do...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/313a88d6e125
branches:  trunk
changeset: 481745:313a88d6e125
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Oct 11 18:06:31 2004 +0000

description:
Build with "-DNOGLOB" on platforms which don't have "/usr/include/glob.h"
like IRIX. This should fix PR pkg/27204 by Georg Schwarz.

diffstat:

 www/analog/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r e29767654907 -r 313a88d6e125 www/analog/Makefile
--- a/www/analog/Makefile       Mon Oct 11 18:02:59 2004 +0000
+++ b/www/analog/Makefile       Mon Oct 11 18:06:31 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2004/08/04 10:51:38 tron Exp $
+# $NetBSD: Makefile,v 1.44 2004/10/11 18:06:31 tron Exp $
 
 DISTNAME=       analog-5.32
 CATEGORIES=    www
@@ -21,6 +21,10 @@
 EGDIR=         ${PREFIX}/share/examples
 CONF_FILES=    ${EGDIR}/analog.cfg ${PKG_SYSCONFDIR}/analog.cfg
 
+.if !exists(/usr/include/glob.h)
+CFLAGS+=       -DNOGLOB
+.endif
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKDISTDIR}/analog ${PREFIX}/bin
        ${INSTALL_DATA} ${WRKDISTDIR}/analog.man ${PREFIX}/man/man1/analog.1



Home | Main Index | Thread Index | Old Index