summaryrefslogtreecommitdiffstats
path: root/x11/XFree86/scripts
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-03-08 07:28:36 +0000
committerasami <asami@FreeBSD.org>1999-03-08 07:28:36 +0000
commit04f6beab8f8083412efad3eadf4e32bffa85bbe2 (patch)
tree907e6a967f7d00919c4dc13b6a581739f386e7ef /x11/XFree86/scripts
parent755e63021c52f5292b5284c5d10c05274df15811 (diff)
downloadFreeBSD-ports-04f6beab8f8083412efad3eadf4e32bffa85bbe2.zip
FreeBSD-ports-04f6beab8f8083412efad3eadf4e32bffa85bbe2.tar.gz
Fix to make ports work with bsd.port.mk rev. 1.306.
${MACHINE_ARCH}--freebsd${OSREL} is now passed to CONFIGURE_ARGS if GNU_CONFIGURE is defined. Take the target out of CONFIGURE_ARGS of some ports that added it explicitly; define it as ${MACHINE_ARCH}--freebsd if the port doesn't like the ${OSREL} part; define it as something else (such as ${MACHINE_ARCH}--freebsdelf if the port requires that; define it as an empty string if the port doesn't like it at all. The last might be a sign that a GNU_CONFIGURE port actually doesn't use GNU's version of configure at all; but I don't have time to go look at them all, we'll fix them as time goes on. At least we've got much fewer "-unknown-"s in the tree as the result. :)
Diffstat (limited to 'x11/XFree86/scripts')
-rw-r--r--x11/XFree86/scripts/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/XFree86/scripts/configure b/x11/XFree86/scripts/configure
index 892ec16..47d2cfa 100644
--- a/x11/XFree86/scripts/configure
+++ b/x11/XFree86/scripts/configure
@@ -230,7 +230,7 @@ else
ELF=no
fi
-if [ ! `uname -r|grep ^2` ]; then
+if [ ${OSVERSION} -ge 300000 ]; then
cat <<'END'
FreeBSD-3.x has support for Secure RPC.
OpenPOWER on IntegriCloud