diff options
author | epg <epg@pkgsrc.org> | 2006-03-10 06:10:44 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2006-03-10 06:10:44 +0000 |
commit | ee3f12b91f57171f840669e51d746688d9923b12 (patch) | |
tree | d99990f897d608b1777489f5a19ceabbdd12f815 /pkgtools | |
parent | 9c47aa8038d521c5846bdbdf29d50cfb23e42ac1 (diff) | |
download | pkgsrc-ee3f12b91f57171f840669e51d746688d9923b12.tar.gz |
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 (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install-info/files/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgtools/pkg_install-info/files/Makefile.in b/pkgtools/pkg_install-info/files/Makefile.in index 8f9b95cad13..1b04a3b335f 100644 --- a/pkgtools/pkg_install-info/files/Makefile.in +++ b/pkgtools/pkg_install-info/files/Makefile.in @@ -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 @@ BINDIR?= /usr/bin 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=\"\" |