Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv20785

Added Files:
        udunits.info udunits.patch 
Log Message:
move to stable to satisfy dependencies


--- NEW FILE: udunits.info ---
Package: udunits
Version: 1.12.4
Revision: 1
Maintainer: Daniel Macks <[EMAIL PROTECTED]>
BuildDepends: fink (>= 0.24.12-1)
Source: ftp://ftp.unidata.ucar.edu/pub/%n/%n-%v.tar.Z
Source-MD5: e0d67d22ef6b33b2de0377017e888eb6
SourceDirectory: %n-%v/src
PatchFile: %n.patch
PatchFile-MD5: 68fac7a6ccb931445bd0739a4b2bd433
PatchScript: patch -p2 < %{PatchFile}
SetCPPFLAGS: -Df2cFortran
CompileScript: <<
        PERL='' MANDIR=%p/share/man ./configure %c
        make MANDIR=%p/share/man
<<
InstallScript: <<
        make -e install prefix=%i exec_prefix=%i MANDIR=%i/share/man
        rm -f %i/share/man/whatis.db
        cd %i && rm -rf man
        cd %i && rm -rf share/manf share/man/cat*
<<
DocFiles: COPYRIGHT CUSTOMIZE ORIGIN README RELEASE_NOTES
Description: Manipulation units of physical quantities
DescPackaging: <<
        Maintained by Jeffrey Whitaker through 1.12.3

        Builds static-only lib...should make a splitoff and maybe
        shared lib some day. In the mean time, at least fix linking.

        Ok to ignore lots of catman msgs during build (nuke possibly-
        created dirs later also)...difficult to disable this mess!

        Have to force various paths many different ways:(
<<
License: OSI-Approved
Homepage: http://www.unidata.ucar.edu/packages/udunits/

--- NEW FILE: udunits.patch ---
diff -Nurd -x'*~' udunits-1.12.4.orig/src/configure udunits-1.12.4/src/configure
--- udunits-1.12.4.orig/src/configure   2004-10-14 20:05:01.000000000 -0400
+++ udunits-1.12.4/src/configure        2007-11-19 23:45:34.000000000 -0500
@@ -4006,6 +4006,12 @@
                 *)  LD_UDPORT="-R$udportdir -L$udportdir -ludport";;
             esac
             ;;
+        darwin*)
+            case "$udportdir" in
+                '') LD_UDPORT="-ludport";;
+                *)  LD_UDPORT="$udportdir/libudport.a";;
+            esac
+            ;;
         *)
             case "$udportdir" in
                 '') LD_UDPORT="-ludport";;
@@ -4197,6 +4203,12 @@
                 *)  LD_UDUNITS="-R$libdir -L$libdir -ludunits";;
             esac
             ;;
+        darwin*)
+            case "$libdir" in
+                '') LD_UDUNITS="-ludunits";;
+                *)  LD_UDUNITS="$libdir/libudunits.a";;
+            esac
+            ;;
         *)
             case "$libdir" in
                 '') LD_UDUNITS="-ludunits";;


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to