Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/base
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9676/10.3/unstable/main/finkinfo/base

Modified Files:
        apt.info apt.patch 
Log Message:
Reduce differences between different-tree .patch files.


Index: apt.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/base/apt.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- apt.patch   13 Aug 2004 02:14:04 -0000      1.3
+++ apt.patch   30 Sep 2004 22:32:06 -0000      1.4
@@ -683,7 +683,7 @@
  my @known_access         = ('http', 'ftp', 'file');
 -my @typical_distributions = ('stable', 'unstable', 'frozen', 'non-US');
 -my @typical_components    = ('main', 'contrib', 'non-free');
-+my @typical_distributions = ('10.3/release', '10.3/current');
++my @typical_distributions = ('@DIST@/release', '@DIST@/current');
 +my @typical_components    = ('main', 'crypto');
  
  my %known_access           = map {($_,$_)} @known_access;
@@ -696,7 +696,7 @@
 -  $distribution = "stable" unless $distribution;
 -  $components   = "main contrib non-free" unless $components;
 +  $urn          = "http://us.dl.sourceforge.net/fink/direct_download"; unless $urn;
-+  $distribution = "10.3/release" unless $distribution;
++  $distribution = "@DIST@/release" unless $distribution;
 +  $components   = "main" unless $components;
  
      

Index: apt.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/base/apt.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- apt.info    16 Aug 2004 02:01:52 -0000      1.7
+++ apt.info    30 Sep 2004 22:32:06 -0000      1.8
@@ -8,7 +8,7 @@
 Source-MD5: 274fb64e2e67318b4c9c94599785c37d
 SourceDirectory: %n-%v
 PatchScript: <<
- sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
+ sed -e 's|@PREFIX@|%p|g' -e 's|@DIST@|10.3|g' <%a/%n.patch | patch -p1
  sh patch_flush
  for i in `grep -rl '#ifdef __GNUG__' .` ; do perl -pi.bak -e 's/#ifdef __GNUG__/#if 
defined(__GNUG__) && !defined(__APPLE_CC__)/' $i; done
  for i in `grep -rl '#ifdef __GNUG__' .` ; do perl -pi.bak -e 's/#ifdef __GNUG__/#if 
defined(__GNUG__) && !defined(__APPLE_CC__)/' $i ; done



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to