summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-24 15:25:08 +0000
committerjoerg <joerg>2007-08-24 15:25:08 +0000
commitdf7da79898a66d8793904806d27b05d54cab0157 (patch)
tree3a113fd1e4b31122367dc488a64ce0148901186c /pkgtools
parentd8e731f170cf3c1426c7239c7f3c1d14724f3070 (diff)
downloadpkgsrc-df7da79898a66d8793904806d27b05d54cab0157.tar.gz
Drop -RELEASE and similiar components of the OS version on FreeBSD as
well.
Diffstat (limited to 'pkgtools')
-rwxr-xr-xpkgtools/pkg_install/files/configure2
-rw-r--r--pkgtools/pkg_install/files/configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/configure b/pkgtools/pkg_install/files/configure
index ca1b306e3a5..3ae0db43b66 100755
--- a/pkgtools/pkg_install/files/configure
+++ b/pkgtools/pkg_install/files/configure
@@ -6787,7 +6787,7 @@ _ACEOF
case $host in
-*-*-dragonfly*)
+*-*-dragonfly* |*-*-freebsd*)
cat >>confdefs.h <<\_ACEOF
#define NUMERIC_VERSION_ONLY 1
diff --git a/pkgtools/pkg_install/files/configure.ac b/pkgtools/pkg_install/files/configure.ac
index dfce5f6a956..6dc7ec792e6 100644
--- a/pkgtools/pkg_install/files/configure.ac
+++ b/pkgtools/pkg_install/files/configure.ac
@@ -138,7 +138,7 @@ AC_CHECK_SIZEOF(long)
AC_CHECK_SIZEOF(long long)
case $host in
-*-*-dragonfly*)
+*-*-dragonfly* |*-*-freebsd*)
AC_DEFINE([NUMERIC_VERSION_ONLY], [1], [Defined when to retain only the numeric OS version])
;;
esac