aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2001-02-05 16:08:31 +0800
committerreg <reg@FreeBSD.org>2001-02-05 16:08:31 +0800
commite7fc44140738772723d02f46d611961e34d528cc (patch)
tree017c734c8e4a1bd16923936ee38ab414c91254ee /x11
parented5c5c735442dd5503871772e0c6cf6f130236cc (diff)
downloadfreebsd-ports-gnome-e7fc44140738772723d02f46d611961e34d528cc.tar.gz
freebsd-ports-gnome-e7fc44140738772723d02f46d611961e34d528cc.tar.zst
freebsd-ports-gnome-e7fc44140738772723d02f46d611961e34d528cc.zip
Relax the requirements script when in BATCH mode, so that this works from
sysinstall. PR: ports/23907 Submitted by: olgeni
Diffstat (limited to 'x11')
-rw-r--r--x11/XFree86-aoutlibs/pkg-req5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11/XFree86-aoutlibs/pkg-req b/x11/XFree86-aoutlibs/pkg-req
index aabd9bc76fbe..a8a608933daf 100644
--- a/x11/XFree86-aoutlibs/pkg-req
+++ b/x11/XFree86-aoutlibs/pkg-req
@@ -1,4 +1,9 @@
#!/bin/sh
+
+if [ -n "${BATCH}" -o -n "${PACKAGE_BUILDING}" ]; then
+ exit 0
+fi
+
env=/usr/bin/env
fgrep=/usr/bin/fgrep
ldconfig=/sbin/ldconfig