[csw-devel] SF.net SVN: gar:[7301] csw/mgar/pkg/guile/trunk

trygvis at users.sourceforge.net trygvis at users.sourceforge.net
Sun Nov 15 20:10:43 CET 2009


Revision: 7301
          http://gar.svn.sourceforge.net/gar/?rev=7301&view=rev
Author:   trygvis
Date:     2009-11-15 19:10:43 +0000 (Sun, 15 Nov 2009)

Log Message:
-----------
guile: Work in progress to get guile 1.8.7 to work. Package builds, not entirely sure if the content is correct.

Modified Paths:
--------------
    csw/mgar/pkg/guile/trunk/Makefile
    csw/mgar/pkg/guile/trunk/checksums

Modified: csw/mgar/pkg/guile/trunk/Makefile
===================================================================
--- csw/mgar/pkg/guile/trunk/Makefile	2009-11-15 18:07:22 UTC (rev 7300)
+++ csw/mgar/pkg/guile/trunk/Makefile	2009-11-15 19:10:43 UTC (rev 7301)
@@ -1,5 +1,12 @@
+# 2009-11-15: The package builds successfully with GCC (not with sun cc).
+#             The version in the catalog (1.6.7,REV=2005.07.03) includes the .a 
+#             and .la files only, this package include the .so files only. I'm 
+#             not quite sure what's the correct approach here.
+#             The existing Makefile included the libraries under files/
+#                                                                  - Trygve
+
 GARNAME = guile
-GARVERSION = 1.6.8
+GARVERSION = 1.8.7
 CATEGORIES = lib
 
 DESCRIPTION = GNU extensibility library
@@ -7,69 +14,30 @@
 	Guile is a library designed to help programmers create flexible applications. Using Guile in an application allows programmers to write plug-ins, or modules (there are many names, but the concept is essentially the same) and users to use them to have an application fit their needs. 
 endef
 
+SPKG_DESC_CSWguilelib12 = GNU extensibility library (shared libraries)
+
+# There has to be something wrong when a package depends on *both* gcc3 and gcc4 - trygve
+REQUIRED_PKGS  = CSWgcc3core
+REQUIRED_PKGS += CSWgcc3corert
+REQUIRED_PKGS += CSWgcc4corert
+REQUIRED_PKGS += CSWggettextrt
+REQUIRED_PKGS += CSWlibgmp
+REQUIRED_PKGS += CSWlibtoolrt
+REQUIRED_PKGS += CSWncurses
+REQUIRED_PKGS += CSWreadline
+
 MASTER_SITES = ftp://ftp.gnu.org/pub/gnu/guile/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
-DISTFILES += $(call admfiles,CSWguile,$(ADMSTANDARD))
-DISTFILES += $(call admfiles,CSWguilelib12,$(ADMSTANDARD))
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-CONFIGURE_ARGS = $(DIRPATHS) 
+GARCOMPILER = GNU
 
+CONFIGURE_ARGS  = $(DIRPATHS) 
+CONFIGURE_ARGS += --enable-error-on-warning=no
+
 TEST_SCRIPTS =
 BUILD_64BIT = yes
 
 include gar/category.mk
-
-post-extract:
-	@( cd $(WORKDIR) ; gzcat ../../$(FILEDIR)/$(GARNAME)lib12-$(GARCH)-libs-1.6.7.tar.gz | tar xf - )
-
-pre-install:
-	@if test ! -d $(DESTDIR)/opt/csw/share ; then \
-		mkdir -p $(DESTDIR)/opt/csw/share ; \
-	fi
-	@if test ! -d $(DESTDIR)/opt/csw/lib ; then \
-		mkdir $(DESTDIR)/opt/csw/lib ; \
-	fi
-	@if test ! -d $(DESTDIR)/opt/csw/bin ; then \
-		mkdir $(DESTDIR)/opt/csw/bin ; \
-	fi
-	@if test ! -d $(DESTDIR)/opt/csw/sbin ; then \
-		 mkdir $(DESTDIR)/opt/csw/sbin ; \
-	fi
-	@if test ! -d $(DESTDIR)/opt/csw/share/doc ; then \
-		 mkdir $(DESTDIR)/opt/csw/share/doc ; \
-	fi
-	@if test ! -d $(DESTDIR)/opt/csw/share/info ; then \
-		mkdir $(DESTDIR)/opt/csw/share/info ; \
-	fi
-	@if test ! -d $(DESTDIR)/opt/csw/share/locale ; then \
-		mkdir $(DESTDIR)/opt/csw/share/locale ; \
-	fi
-	@if test ! -d $(DESTDIR)/opt/csw/share/man ; then \
-		mkdir $(DESTDIR)/opt/csw/share/man ; \
-	fi
-	@if test ! -h $(DESTDIR)/opt/csw/man ; then \
-		ln -s $(DESTDIR)/opt/csw/share/man $(DESTDIR)/opt/csw/man ; \
-	fi
-	@if test ! -h $(DESTDIR)/opt/csw/doc ; then \
-		ln -s $(DESTDIR)/opt/csw/share/doc $(DESTDIR)/opt/csw/doc ; \
-	fi
-	@if test ! -h $(DESTDIR)/opt/csw/info ; then \
-		ln -s $(DESTDIR)/opt/csw/share/info $(DESTDIR)/opt/csw/info ; \
-	fi
-	@if test ! -h $(DESTDIR)/opt/csw/lib/locale ; then \
-		ln -s $(DESTDIR)/opt/csw/share/locale $(DESTDIR)/opt/csw/lib/locale ; \
-	fi
-
-
-post-install:
-	@for curlib in libguile-ltdl.so.1.0.0 libguile-srfi-srfi-13-14-v-1.so.1.0.0 libguile-srfi-srfi-4-v-1.so.1.0.0 libguile.so.12.3.0 libguilereadline-v-12.so.12.3.0; do \
-		if test -f $(WORKDIR)/$$curlib ; then \
-		ginstall -m0755 \
-			$(WORKDIR)/$$curlib \
-			$(DESTDIR)$(libdir)/$$curlib ; \
-		fi ; \
-	done
-	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/guile/trunk/checksums
===================================================================
--- csw/mgar/pkg/guile/trunk/checksums	2009-11-15 18:07:22 UTC (rev 7300)
+++ csw/mgar/pkg/guile/trunk/checksums	2009-11-15 19:10:43 UTC (rev 7301)
@@ -1,7 +1 @@
-2756b01f428b910d33267aeaa0e2d59a  download/guile-1.6.8.tar.gz
-4dfbfa0a9c83ce718bc9e84f912a1463  download/CSWguile.gspec
-55b9e3cd0e4bb084a23aa431375ca2ec  download/CSWguile.prototype
-3360bc130644f066d92ee36acb4d12dd  download/CSWguile.depend
-3e6e797ea03ebaa3e1e8e19886beb563  download/CSWguilelib12.gspec
-677ed30ce2900e4013b262a93ec42753  download/CSWguilelib12.prototype
-620a1fb38f3a59a12f40a0d1b01d0f77  download/CSWguilelib12.depend
+991b5b3efcbbc3f7507d05bc42f80a5e  guile-1.8.7.tar.gz


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