Fix build on system with no bash installed.

This commit is contained in:
Maxim Sobolev 2009-09-11 15:56:39 +00:00
parent 9a9eaba329
commit 11f59baf49
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241240

View file

@ -1,5 +1,5 @@
--- Makefile.orig 2009-08-04 07:54:00.000000000 -0700 --- Makefile.orig 2009-08-04 07:54:00.000000000 -0700
+++ Makefile 2009-09-09 17:10:46.000000000 -0700 +++ Makefile 2009-09-10 15:10:11.000000000 -0700
@@ -111,7 +111,7 @@ @@ -111,7 +111,7 @@
OVERWRITE=y OVERWRITE=y
@ -39,7 +39,12 @@
_ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi) _ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
endif endif
@@ -458,21 +460,21 @@ @@ -454,25 +456,25 @@
rm -f build_tools/menuselect-deps
datafiles: _all
- if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(_ASTCFLAGS) $(ASTCFLAGS)" bash build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
+ #if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(_ASTCFLAGS) $(ASTCFLAGS)" bash build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
# Should static HTTP be installed during make samples or even with its own target ala # Should static HTTP be installed during make samples or even with its own target ala
# webvoicemail? There are portions here that *could* be customized but might also be # webvoicemail? There are portions here that *could* be customized but might also be
# improved a lot. I'll put it here for now. # improved a lot. I'll put it here for now.