diff options
author | sketch <sketch@pkgsrc.org> | 2009-01-20 17:51:12 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2009-01-20 17:51:12 +0000 |
commit | d0e9b076593d4a3b75432eca3ca10f5f513c90eb (patch) | |
tree | 35fcc22667504b4e28201a60c435cea631fefb9a /devel/gmp | |
parent | e3e6dc8cb276f9a95130ef19408ccd9d64595e98 (diff) | |
download | pkgsrc-d0e9b076593d4a3b75432eca3ca10f5f513c90eb.tar.gz |
Disable C++ and fat binary support when using Sun Studio, they don't build.
Diffstat (limited to 'devel/gmp')
-rw-r--r-- | devel/gmp/Makefile | 14 | ||||
-rw-r--r-- | devel/gmp/PLIST | 6 |
2 files changed, 14 insertions, 6 deletions
diff --git a/devel/gmp/Makefile b/devel/gmp/Makefile index fcdca07fe5e..ca587b84360 100644 --- a/devel/gmp/Makefile +++ b/devel/gmp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.54 2008/11/21 11:27:31 bjs Exp $ +# $NetBSD: Makefile,v 1.55 2009/01/20 17:51:12 sketch Exp $ DISTNAME= gmp-4.2.4 PKGREVISION= 1 @@ -25,11 +25,19 @@ USE_LANGUAGES= c c++ c99 USE_LIBTOOL= yes USE_TOOLS+= gm4 autoconf makeinfo -CONFIGURE_ARGS+= --enable-cxx --without-readline +CONFIGURE_ARGS+= --without-readline TEST_TARGET= check +PLIST_VARS+= cxx + .include "../../mk/bsd.prefs.mk" + +.if empty(PKGSRC_COMPILER:Msunpro) +CONFIGURE_ARGS+= --enable-cxx +PLIST.cxx= yes +.endif + .if !empty(MACHINE_PLATFORM:MIRIX-5*) && !empty(ABI) ABI= o32 .endif @@ -40,7 +48,7 @@ GCC_REQD+= 3.0 .endif .if ${MACHINE_ARCH} == "i386" -. if ${OPSYS} == "Darwin" +. if ${OPSYS} == "Darwin" || !empty(PKGSRC_COMPILER:Msunpro) # don't use x86 assembly (it doesn't build) CONFIGURE_ENV+= MPN_PATH="generic" . else diff --git a/devel/gmp/PLIST b/devel/gmp/PLIST index d355a4cda80..4941de10b09 100644 --- a/devel/gmp/PLIST +++ b/devel/gmp/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.12 2006/03/30 03:44:43 jlam Exp $ +@comment $NetBSD: PLIST,v 1.13 2009/01/20 17:51:12 sketch Exp $ include/gmp.h -include/gmpxx.h +${PLIST.cxx}include/gmpxx.h info/gmp.info lib/libgmp.la -lib/libgmpxx.la +${PLIST.cxx}lib/libgmpxx.la |