projects
/
openwrt
/
staging
/
hauke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: BSD compile fixes
[openwrt/staging/hauke.git]
/
include
/
prereq-build.mk
diff --git
a/include/prereq-build.mk
b/include/prereq-build.mk
index c7d59f12029152fa2887e2374949c378ef918de7..59ea7ef9a78f976eba2b9169aab98fbc6b1571cd 100644
(file)
--- a/
include/prereq-build.mk
+++ b/
include/prereq-build.mk
@@
-39,6
+39,8
@@
$(eval $(call Require,case-sensitive-fs, \
))
define Require/getopt
))
define Require/getopt
+ gnugetopt --help 2>&1 | grep long >/dev/null || \
+ /usr/local/bin/getopt --help 2>&1 | grep long >/dev/null || \
getopt --help 2>&1 | grep long >/dev/null
endef
$(eval $(call Require,getopt, \
getopt --help 2>&1 | grep long >/dev/null
endef
$(eval $(call Require,getopt, \
@@
-134,15
+136,11
@@
$(eval $(call RequireCommand,bzip2, \
Please install bzip2. \
))
Please install bzip2. \
))
-$(eval $(call RequireCommand,patch, \
- Please install patch. \
-))
-
$(eval $(call RequireCommand,perl, \
Please install perl. \
))
$(eval $(call RequireCommand,perl, \
Please install perl. \
))
-$(eval $(call RequireCommand,
python
, \
+$(eval $(call RequireCommand,
$(PYTHON)
, \
Please install python. \
))
Please install python. \
))