[20602] trunk/dports/devel/slib
source_changes at macosforge.org
source_changes at macosforge.org
Wed Nov 8 13:43:13 PST 2006
Revision: 20602
http://trac.macosforge.org/projects/macports/changeset/20602
Author: mas at macports.org
Date: 2006-11-08 13:43:13 -0800 (Wed, 08 Nov 2006)
Log Message:
-----------
use reinplace with instead of patch files with hardcoded /opt/local (thanks to Mark Duling); add the missing fix for require.scm from Debian
Modified Paths:
--------------
trunk/dports/devel/slib/Portfile
Removed Paths:
-------------
trunk/dports/devel/slib/files/patch-RScheme.init
trunk/dports/devel/slib/files/patch-guile.init
Modified: trunk/dports/devel/slib/Portfile
===================================================================
--- trunk/dports/devel/slib/Portfile 2006-11-08 21:35:15 UTC (rev 20601)
+++ trunk/dports/devel/slib/Portfile 2006-11-08 21:43:13 UTC (rev 20602)
@@ -3,7 +3,7 @@
PortSystem 1.0
name slib
version 3a4
-revision 1
+revision 2
categories devel lang scheme
maintainers kogule at opendarwin.org
description A portable scheme library
@@ -21,7 +21,13 @@
use_zip yes
checksums sha1 5e358cab8a58202bab3eae9ce4c04dda41bf37a5
worksrcdir ${name}
-patchfiles patch-Makefile patch-guile.init patch-RScheme.init
+patchfiles patch-Makefile patch-require.scm
+
+post-patch {
+ reinplace "s|/usr/lib/slib|${prefix}/lib/slib|g" ${worksrcpath}/guile.init
+ reinplace "s|/usr/lib/slib|${prefix}/lib/slib|g" ${worksrcpath}/RScheme.init
+}
+
use_configure no
build.target srcdir.mk
destroot.target install installinfoz
Deleted: trunk/dports/devel/slib/files/patch-RScheme.init
===================================================================
--- trunk/dports/devel/slib/files/patch-RScheme.init 2006-11-08 21:35:15 UTC (rev 20601)
+++ trunk/dports/devel/slib/files/patch-RScheme.init 2006-11-08 21:43:13 UTC (rev 20602)
@@ -1,11 +0,0 @@
---- RScheme.init.orig 2006-09-13 19:43:01.000000000 +0200
-+++ RScheme.init 2006-11-08 21:06:40.000000000 +0100
-@@ -48,7 +48,7 @@
- ;; Use this path if your scheme does not support GETENV
- ;; or if SCHEME_LIBRARY_PATH is not set.
- (case (software-type)
-- ((unix) "/usr/lib/slib/")
-+ ((unix) "/opt/local/lib/slib/")
- ((vms) "lib$scheme:")
- ((ms-dos) "C:\\SLIB\\")
- (else "")))))
Deleted: trunk/dports/devel/slib/files/patch-guile.init
===================================================================
--- trunk/dports/devel/slib/files/patch-guile.init 2006-11-08 21:35:15 UTC (rev 20601)
+++ trunk/dports/devel/slib/files/patch-guile.init 2006-11-08 21:43:13 UTC (rev 20602)
@@ -1,11 +0,0 @@
---- guile.init.orig 2006-04-24 05:53:25.000000000 +0200
-+++ guile.init 2006-11-08 21:09:43.000000000 +0100
-@@ -58,7 +58,7 @@
- (and (defined? 'getenv) (getenv "SCHEME_LIBRARY_PATH"))
- ;; Use this path if your scheme does not support GETENV
- ;; or if SCHEME_LIBRARY_PATH is not set.
-- "/usr/lib/slib/"
-+ "/opt/local/lib/slib/"
- (in-vicinity (implementation-vicinity) "slib/"))))
- (lambda () library-path)))
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061108/43df676d/attachment.html
More information about the macports-changes
mailing list