pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install-info/files Add -DHAVE_CONFIG_H to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a68e4435231
branches:  trunk
changeset: 509435:8a68e4435231
user:      epg <epg%pkgsrc.org@localhost>
date:      Fri Mar 10 06:10:44 2006 +0000

description:
Add -DHAVE_CONFIG_H to CPPFLAGS so xstrdup.c will include <string.h>
and get the correct prototypes for strcpy and strlen.

Fixes build on Ubuntu Linux, and likely others.

diffstat:

 pkgtools/pkg_install-info/files/Makefile.in |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 28b8b49b2e4d -r 8a68e4435231 pkgtools/pkg_install-info/files/Makefile.in
--- a/pkgtools/pkg_install-info/files/Makefile.in       Fri Mar 10 06:07:36 2006 +0000
+++ b/pkgtools/pkg_install-info/files/Makefile.in       Fri Mar 10 06:10:44 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.in,v 1.2 2003/06/10 07:02:12 seb Exp $
+# $NetBSD: Makefile.in,v 1.3 2006/03/10 06:10:44 epg Exp $
 
 .if defined(PREFIX)
 BINDIR?=       ${PREFIX}/bin
@@ -9,6 +9,7 @@
 PROG=  pkg_install-info
 SRCS=  getopt.c getopt1.c install-info.c xexit.c xstrdup.c
 
+CPPFLAGS+=     -DHAVE_CONFIG_H
 CPPFLAGS+=     -I.
 CPPFLAGS+=     -DENABLE_NLS=0
 CPPFLAGS+=     -DLOCALEDIR=\"\"



Home | Main Index | Thread Index | Old Index