[csw-devel] SF.net SVN: gar:[12538] csw/mgar/pkg/libgmp/trunk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Fri Jan 14 11:26:56 CET 2011
Revision: 12538
http://gar.svn.sourceforge.net/gar/?rev=12538&view=rev
Author: dmichelsen
Date: 2011-01-14 10:26:55 +0000 (Fri, 14 Jan 2011)
Log Message:
-----------
libgmp: Update to 5.0.1, compiles cleanly with Sun Studio, repackage of old .so.3 missing
Modified Paths:
--------------
csw/mgar/pkg/libgmp/trunk/Makefile
csw/mgar/pkg/libgmp/trunk/checksums
Modified: csw/mgar/pkg/libgmp/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libgmp/trunk/Makefile 2011-01-14 07:51:14 UTC (rev 12537)
+++ csw/mgar/pkg/libgmp/trunk/Makefile 2011-01-14 10:26:55 UTC (rev 12538)
@@ -1,5 +1,5 @@
NAME = gmp
-VERSION = 4.3.2
+VERSION = 5.0.1
CATEGORIES = lib
DESCRIPTION = GNU Multiple Precision Arithmetic Library
@@ -25,19 +25,27 @@
# We define upstream file regex so we can be notifed of new upstream software release
UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.bz2
-GARCOMPILER = GCC4
+#GARCOMPILER = GCC4
BUILD64 = 1
EXTRA_BUILD_ISAS_sparc = sparcv8plus sparcv8plus+vis
EXTRA_BUILD_ISAS_i386 = pentium
+BUILD_DEP_PKGS = CSWgm4
+
TEST_TARGET = check
+# Solaris m4 seems to fail on Solaris 10 amd64 only, use gm4 for all builds
+M4 = /opt/csw/bin/gm4
+EXTRA_CONFIGURE_EXPORTS = M4
+
MPN_sparcv8 = "sparc32/v8 sparc32 generic"
MPN_sparcv8plus = "sparc32/v9 sparc32 generic"
MPN_sparcv8plus+vis = "sparc32/v9 sparc32 generic"
MPN_sparcv9 = "sparc64 generic"
+ABI_sparcv8 = 32
+ABI_sparcv9 = 64
ABI_i386 = 32
ABI_pentium = 32
ABI_amd64 = 64
@@ -47,22 +55,34 @@
CONFIGURE_ARGS = ABI=$(ABI_$(ISA)) MPN_PATH=$(MPN_$(ISA)) $(DIRPATHS)
-EXTRA_MERGE_DIRS_isa-sparcv8plus = $(includedir)
-EXTRA_MERGE_DIRS_isa-sparcv8plus+vis = $(includedir)
-EXTRA_MERGE_DIRS_isa-sparcv9 = $(includedir)
-EXTRA_MERGE_DIRS_isa-amd64 = $(includedir)
-EXTRA_MERGE_DIRS_isa-pentium = $(includedir)
+#EXTRA_MERGE_DIRS_isa-sparcv8plus = $(includedir)
+#EXTRA_MERGE_DIRS_isa-sparcv8plus+vis = $(includedir)
+#EXTRA_MERGE_DIRS_isa-sparcv9 = $(includedir)
+#EXTRA_MERGE_DIRS_isa-amd64 = $(includedir)
+#EXTRA_MERGE_DIRS_isa-pentium = $(includedir)
-PACKAGES = CSWlibgmp
+PACKAGES += CSWlibgmp10
+CATALOGNAME_CSWlibgmp10 = libgmp10
+SPKG_DESC_CSWlibgmp10 = GNU Multiple Precision Arithmetic Library, libgmp.so.10
+PKGFILES_CSWlibgmp10 = $(call baseisadirs,$(libdir),libgmp\.so\.10(\.\d+)*)
-RUNTIME_DEP_PKGS = CSWgcc4corert
+PACKAGES += CSWlibgmp-dev
+CATALOGNAME_CSWlibgmp-dev = libgmp_dev
+SPKG_DESC_CSWlibgmp-dev = Development Files for libgmp
+# Catchall PKGFILES
+RUNTIME_DEP_PKGS_CSWlibgmp-dev = CSWlibgmp10
+#RUNTIME_DEP_PKGS = CSWgcc4corert
+
+# We have collisions with legacy CSWlibgmp until re-release
+CHECKPKG_OVERRIDES_CSWlibgmp-dev += file-collision
+
include gar/category.mk
-ifeq ($(ISA), sparcv8plus)
- ARCHFLAGS_$(GARCOMPILER)_$(ISA) = -mcpu=v9 -mv8plus
-endif
-ifeq ($(ISA), sparcv8plus+vis)
- ARCHFLAGS_$(GARCOMPILER)_$(ISA) = -mcpu=ultrasparc -mvis
-endif
+#ifeq ($(ISA), sparcv8plus)
+# ARCHFLAGS_$(GARCOMPILER)_$(ISA) = -mcpu=v9 -mv8plus
+#endif
+#ifeq ($(ISA), sparcv8plus+vis)
+# ARCHFLAGS_$(GARCOMPILER)_$(ISA) = -mcpu=ultrasparc -mvis
+#endif
Modified: csw/mgar/pkg/libgmp/trunk/checksums
===================================================================
--- csw/mgar/pkg/libgmp/trunk/checksums 2011-01-14 07:51:14 UTC (rev 12537)
+++ csw/mgar/pkg/libgmp/trunk/checksums 2011-01-14 10:26:55 UTC (rev 12538)
@@ -1 +1 @@
-dd60683d7057917e34630b4a787932e8 gmp-4.3.2.tar.bz2
+6bac6df75c192a13419dfd71d19240a7 gmp-5.0.1.tar.bz2
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list