summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorobache <obache>2013-02-10 12:46:56 +0000
committerobache <obache>2013-02-10 12:46:56 +0000
commitae40abae23976763eadde6aac390579749b912dd (patch)
tree45905afc35b0506ffb8d8efa4865c78ced784172 /pkgtools
parent7e715ad7dda3671fcc44a2b65cafdd60f7bc9b1f (diff)
downloadpkgsrc-ae40abae23976763eadde6aac390579749b912dd.tar.gz
Also set NUMERIC_VERSION_ONLY for Cygwin,
eliminate (api_major.api_minor/shared_data/mount_registory) part.
Diffstat (limited to 'pkgtools')
-rwxr-xr-xpkgtools/pkg_install/files/configure2
-rw-r--r--pkgtools/pkg_install/files/configure.ac4
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/configure b/pkgtools/pkg_install/files/configure
index 0be4828c7ac..b778ec7384e 100755
--- a/pkgtools/pkg_install/files/configure
+++ b/pkgtools/pkg_install/files/configure
@@ -5042,7 +5042,7 @@ case $host in
esac
case $host in
-*-*-dragonfly* |*-*-freebsd*|*-*-linux*)
+*-*-cygwin*|*-*-dragonfly* |*-*-freebsd*|*-*-linux*)
$as_echo "#define NUMERIC_VERSION_ONLY 1" >>confdefs.h
diff --git a/pkgtools/pkg_install/files/configure.ac b/pkgtools/pkg_install/files/configure.ac
index 9291a2cac34..544c6562543 100644
--- a/pkgtools/pkg_install/files/configure.ac
+++ b/pkgtools/pkg_install/files/configure.ac
@@ -1,4 +1,4 @@
-dnl $NetBSD: configure.ac,v 1.36 2011/04/20 09:57:25 morr Exp $
+dnl $NetBSD: configure.ac,v 1.37 2013/02/10 12:46:56 obache Exp $
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
AC_INIT([pkg_install], [20090911], [joerg@NetBSD.org])
@@ -142,7 +142,7 @@ case $host in
esac
case $host in
-*-*-dragonfly* |*-*-freebsd*|*-*-linux*)
+*-*-cygwin*|*-*-dragonfly* |*-*-freebsd*|*-*-linux*)
AC_DEFINE([NUMERIC_VERSION_ONLY], [1], [Defined when to retain only the numeric OS version])
;;
esac