summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install-info
diff options
context:
space:
mode:
authorepg <epg>2006-03-10 06:10:44 +0000
committerepg <epg>2006-03-10 06:10:44 +0000
commitda78eff618e4d9c37fecde1aaaced3ff485b0ea1 (patch)
treed99990f897d608b1777489f5a19ceabbdd12f815 /pkgtools/pkg_install-info
parentf061fd3d4ef30f244f05007af30904ed92d3ca2e (diff)
downloadpkgsrc-da78eff618e4d9c37fecde1aaaced3ff485b0ea1.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/pkg_install-info')
-rw-r--r--pkgtools/pkg_install-info/files/Makefile.in3
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=\"\"