opnsense-ports/java/jode/files/patch-configure
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

16 lines
698 B
Text

--- configure Sun Aug 12 16:34:31 2001
+++ configure Tue Jun 24 13:33:58 2003
@@ -1125,5 +1125,5 @@
withval="$with_java"
- if test ${withval} != "" || test ${withval} != "yes" || test ${withval} != "no"; then
+ if test -n "${withval}" -a "${withval}" != "yes" -a "${withval}" != "no"; then
# set javac to user input value
@@ -1730,5 +1730,5 @@
{ echo "configure: error: You must only give one option --with-javac or --with-jikes" 1>&2; exit 1; }
fi
- if test ${withval} != "" || test ${withval} != "yes" || test ${withval} != "no"; then
+ if test -n "${withval}" -a "${withval}" != "yes" -a "${withval}" != "no"; then
for ac_file in ${withval}
do