[csw-devel] SF.net SVN: gar:[7750] csw/mgar/pkg/libgsf/trunk

hson at users.sourceforge.net hson at users.sourceforge.net
Sat Dec 26 03:01:07 CET 2009


Revision: 7750
          http://gar.svn.sourceforge.net/gar/?rev=7750&view=rev
Author:   hson
Date:     2009-12-26 02:01:07 +0000 (Sat, 26 Dec 2009)

Log Message:
-----------
libgsf: Added second fixme script, remove some unused stuff

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

Added Paths:
-----------
    csw/mgar/pkg/libgsf/trunk/files/fixme2.sh

Modified: csw/mgar/pkg/libgsf/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libgsf/trunk/Makefile	2009-12-25 23:23:03 UTC (rev 7749)
+++ csw/mgar/pkg/libgsf/trunk/Makefile	2009-12-26 02:01:07 UTC (rev 7750)
@@ -21,9 +21,6 @@
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-
-#NPATH = /opt/csw/gnu:$(PATH)
-
 CONFIGURE_ARGS = $(DIRPATHS)
 #CONFIGURE_ARGS = "PATH=$(NPATH)" $(DIRPATHS)
 #CONFIGURE_ARGS += --enable-gtk-doc=no
@@ -31,6 +28,8 @@
 
 TEST_TARGET = check
 
+EXTRA_LD_OPTIONS = -L../gsf/.libs -L../../gsf/.libs
+
 include gar/category.mk
 
 PATH := /opt/csw/gnu:$(PATH)
@@ -38,6 +37,7 @@
 post-configure-$(MODULATION):
 	@(echo "~~~ Fixing Libtool ~~~")
 	@$(FILEDIR)/fixme.sh $(WORKSRC)
+#	@$(FILEDIR)/fixme2.sh $(WORKSRC)
 	$(DONADA)
 
 post-install-isa-sparcv8:

Modified: csw/mgar/pkg/libgsf/trunk/checksums
===================================================================
--- csw/mgar/pkg/libgsf/trunk/checksums	2009-12-25 23:23:03 UTC (rev 7749)
+++ csw/mgar/pkg/libgsf/trunk/checksums	2009-12-26 02:01:07 UTC (rev 7750)
@@ -1 +1,2 @@
 7d6fa1c26ebb58dcf2128c3b9c7d1a2a  download/libgsf-1.14.11.tar.gz
+34f5b20f6caf282b2533784fbb1b4395  download/fixme.sh

Added: csw/mgar/pkg/libgsf/trunk/files/fixme2.sh
===================================================================
--- csw/mgar/pkg/libgsf/trunk/files/fixme2.sh	                        (rev 0)
+++ csw/mgar/pkg/libgsf/trunk/files/fixme2.sh	2009-12-26 02:01:07 UTC (rev 7750)
@@ -0,0 +1,29 @@
+#!/bin/bash
+####################################################
+#
+#  fixme2.sh
+#  Intended to patch libtool so relink isn't
+#  performend during install
+# 
+#  Loosely based on Mike Watters fixme.sh
+#
+#  Author: Roger Hakansson hson at opencsw.org
+#  Initial Version: 0.1
+#
+####################################################
+
+umask 0022
+PATH=/opt/csw/bin
+
+if [ $# -ne 1 ]; then
+    gecho "USAGE: $(basename $0) WORKSRC"
+    exit 1
+fi
+BASEPATH=$1
+
+## Fix libtool Script
+for lt in $(gfind ${BASEPATH} -name libtool -print); do
+    gsed 's/test "$mode" != relink && rpath/rpath/' ${lt} > ${lt}.new
+    gmv ${lt}.new ${lt}
+    gchmod +x ${lt}
+done


Property changes on: csw/mgar/pkg/libgsf/trunk/files/fixme2.sh
___________________________________________________________________
Added: svn:executable
   + *


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