Make sure the port builds without bash installed when codec negitiation

patch is enabled.
This commit is contained in:
Maxim Sobolev 2009-10-20 21:52:14 +00:00
parent b73e9ae2b5
commit 57c82b0734
3 changed files with 24 additions and 18 deletions

View file

@ -1,8 +1,5 @@
$FreeBSD$
--- Makefile.orig
+++ Makefile
--- Makefile.orig 2009-10-20 14:49:16.000000000 -0700
+++ Makefile 2009-10-20 14:49:55.000000000 -0700
@@ -95,7 +95,7 @@
OVERWRITE=y
@ -42,7 +39,12 @@ $FreeBSD$
ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
endif
@@ -408,15 +410,15 @@
@@ -404,19 +406,19 @@
rm -f build_tools/menuselect-deps
datafiles: _all
- if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(ASTCFLAGS)" bash build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
+ #if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(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
# webvoicemail? There are portions here that *could* be customized but might also be
# improved a lot. I'll put it here for now.

View file

@ -1,8 +1,5 @@
$FreeBSD$
--- Makefile.orig
+++ Makefile
--- Makefile.orig 2009-10-20 14:49:16.000000000 -0700
+++ Makefile 2009-10-20 14:49:55.000000000 -0700
@@ -95,7 +95,7 @@
OVERWRITE=y
@ -42,7 +39,12 @@ $FreeBSD$
ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
endif
@@ -408,15 +410,15 @@
@@ -404,19 +406,19 @@
rm -f build_tools/menuselect-deps
datafiles: _all
- if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(ASTCFLAGS)" bash build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
+ #if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(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
# webvoicemail? There are portions here that *could* be customized but might also be
# improved a lot. I'll put it here for now.

View file

@ -1,8 +1,5 @@
$FreeBSD$
--- Makefile.orig
+++ Makefile
--- Makefile.orig 2009-10-20 14:49:16.000000000 -0700
+++ Makefile 2009-10-20 14:49:55.000000000 -0700
@@ -95,7 +95,7 @@
OVERWRITE=y
@ -42,7 +39,12 @@ $FreeBSD$
ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
endif
@@ -408,15 +410,15 @@
@@ -404,19 +406,19 @@
rm -f build_tools/menuselect-deps
datafiles: _all
- if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(ASTCFLAGS)" bash build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
+ #if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(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
# webvoicemail? There are portions here that *could* be customized but might also be
# improved a lot. I'll put it here for now.