[26658] trunk/dports/sysutils/rpm

source_changes at macosforge.org source_changes at macosforge.org
Sun Jul 1 14:11:25 PDT 2007


Revision: 26658
          http://trac.macosforge.org/projects/macports/changeset/26658
Author:   afb at macports.org
Date:     2007-07-01 14:11:25 -0700 (Sun, 01 Jul 2007)

Log Message:
-----------
support java libraries for provides

Modified Paths:
--------------
    trunk/dports/sysutils/rpm/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/rpm/files/patch-darwin.prov

Modified: trunk/dports/sysutils/rpm/Portfile
===================================================================
--- trunk/dports/sysutils/rpm/Portfile	2007-07-01 21:05:04 UTC (rev 26657)
+++ trunk/dports/sysutils/rpm/Portfile	2007-07-01 21:11:25 UTC (rev 26658)
@@ -44,6 +44,7 @@
 patchfiles		patch-macros.in \
 			patch-configure \
 			patch-Makefile.PL \
+			patch-darwin.prov \
 			patch-rpmdav.c \
 			patch-rpmsq.c \
 			patch-rpmevr.h \

Added: trunk/dports/sysutils/rpm/files/patch-darwin.prov
===================================================================
--- trunk/dports/sysutils/rpm/files/patch-darwin.prov	                        (rev 0)
+++ trunk/dports/sysutils/rpm/files/patch-darwin.prov	2007-07-01 21:11:25 UTC (rev 26658)
@@ -0,0 +1,11 @@
+--- autodeps/darwin.prov	2005-01-04 09:41:39.000000000 -0800
++++ autodeps/darwin.prov	2007-06-13 10:52:54.000000000 -0700
+@@ -5,7 +5,7 @@
+ # This script reads filenames from STDIN and outputs any relevant provides
+ # information that needs to be included in the package.
+ 
+-filelist=$(sed -n -e '/\.dylib/p' -e '/\.so/p' -e '/\.bundle/p' | sort | uniq | xargs file -L 2>/dev/null | grep "Mach-O.*ppc" | cut -d: -f1)
++filelist=$(sed -n -e '/\.dylib/p' -e '/\.so/p' -e '/\.bundle/p' -e '/\.jnilib/p' | sort | uniq | xargs file -L 2>/dev/null | grep "Mach-O.*" | cut -d: -f1)
+ 
+ for f in $filelist; do
+     libname=$(basename $f | sed -e 's;\..*;;')

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070701/ef9a0a40/attachment.html


More information about the macports-changes mailing list