flex: fix bootstrap on NetBSD from upstream
[openadk.git] / package / ed / patches / patch-configure
blob594a9a524e00bf517a6745c003241f413968cc95
1 --- ed-1.13.orig/configure      2016-01-24 18:54:47.000000000 +0100
2 +++ ed-1.13/configure   2016-04-08 23:14:47.326189488 +0200
3 @@ -14,17 +14,17 @@ srctrigger=doc/${pkgname}.texi
4  LC_ALL=C
5  export LC_ALL
6  srcdir=
7 -prefix=/usr/local
8 +prefix=/usr
9  exec_prefix='$(prefix)'
10  bindir='$(exec_prefix)/bin'
11  datarootdir='$(prefix)/share'
12  infodir='$(datarootdir)/info'
13  mandir='$(datarootdir)/man'
14  program_prefix=
15 -CC=gcc
16 -CPPFLAGS=
17 -CFLAGS='-Wall -W -O2'
18 -LDFLAGS=
19 +CC?=gcc
20 +CPPFLAGS?=
21 +CFLAGS?='-Wall -W -O2'
22 +LDFLAGS?=
24  # checking whether we are using GNU C.
25  ${CC} --version > /dev/null 2>&1