mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Better method to test if make is run with BATCH defined.
This commit is contained in:
parent
5284ac1c89
commit
fc5a5dbcaa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5348
4
net/cap/scripts/configure
vendored
4
net/cap/scripts/configure
vendored
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
if [ -z ${BATCH} ]; then
|
||||
if [ X"${BATCH}" != X"yes" ]; then
|
||||
echo "This port comes with reasonable defaults as follows:"
|
||||
echo " Native Ethertalk with Phase 2 compatibility."
|
||||
echo " Critical AUFS stat() calls to be cached. (STAT_CACHE)"
|
||||
@ -24,7 +24,7 @@ if [ -z ${BATCH} ]; then
|
||||
echo "===> Copying custom m4.features file."
|
||||
cp ${FILESDIR}/m4.features ${WRKSRC}
|
||||
|
||||
if [ -z ${BATCH} ]; then
|
||||
if [ X"${BATCH}" != X"yes" ]; then
|
||||
(cd ${WRKSRC}; ./Configure)
|
||||
else
|
||||
sed -e s+@CWD@+${WRKSRC}+ -e s+@PREFIX@+${PREFIX}+ \
|
||||
|
Loading…
Reference in New Issue
Block a user