diff options
author | David Schultz <das@FreeBSD.org> | 2005-02-12 13:19:47 +0000 |
---|---|---|
committer | David Schultz <das@FreeBSD.org> | 2005-02-12 13:19:47 +0000 |
commit | 3e34029c2ea0aaad41f948ba61f734598585c972 (patch) | |
tree | aa626977f6d195f8f6989f7b6b171e6c8e456dc7 /lang/gnat | |
parent | o Add CONFLITS. (diff) |
Fix build. Ports that formerly attempted to work around problems
created by matherr() no longer need to do so.
Notes
Notes:
svn path=/head/; revision=128597
Diffstat (limited to 'lang/gnat')
-rw-r--r-- | lang/gnat/Makefile | 4 | ||||
-rw-r--r-- | lang/gnat/pkg-plist | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lang/gnat/Makefile b/lang/gnat/Makefile index acba2c2fbc04..83d0792a5a38 100644 --- a/lang/gnat/Makefile +++ b/lang/gnat/Makefile @@ -1,3 +1,4 @@ + # New ports collection makefile for: GNU Ada gnat # Date created: Sat Mar 18 02:16:45 1995 # Whom: hsu @@ -37,6 +38,9 @@ GCC_VERSION= 2.8.1 PLIST_SUB= GNUHOST=${GNUHOST} GCC_VERSION=${GCC_VERSION} \ LIBRARY_VERSION=${LIBRARY_VERSION} \ SHARED_MAJOR=${SHARED_MAJOR} +.if ${OSVERSION} < 600011 +PLIST_FILES+= lib/gcc-lib/${GNUHOST}/${GCC_VERSION}/include/math.h +.endif # Make no mistake about what host/target we are building on/for. # This package does not support cross-compiling, and this fixes diff --git a/lang/gnat/pkg-plist b/lang/gnat/pkg-plist index 1a440e5f4790..e15c929a1674 100644 --- a/lang/gnat/pkg-plist +++ b/lang/gnat/pkg-plist @@ -1112,7 +1112,6 @@ lib/gcc-lib/%%GNUHOST%%/%%GCC_VERSION%%/include/README lib/gcc-lib/%%GNUHOST%%/%%GCC_VERSION%%/include/exception lib/gcc-lib/%%GNUHOST%%/%%GCC_VERSION%%/include/float.h lib/gcc-lib/%%GNUHOST%%/%%GCC_VERSION%%/include/limits.h -lib/gcc-lib/%%GNUHOST%%/%%GCC_VERSION%%/include/math.h lib/gcc-lib/%%GNUHOST%%/%%GCC_VERSION%%/include/new lib/gcc-lib/%%GNUHOST%%/%%GCC_VERSION%%/include/new.h lib/gcc-lib/%%GNUHOST%%/%%GCC_VERSION%%/include/syslimits.h |