bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gjdoc/30050] New: [PATCH] Allow gjdoc to build without GNU cp (but


From: flameeyes at gentoo dot org
Subject: [Bug gjdoc/30050] New: [PATCH] Allow gjdoc to build without GNU cp (but with rsync)
Date: 2 Dec 2006 17:11:27 -0000

Trying to build gjdoc on Gentoo/FreeBSD, I found it fail because the makefile
uses the "cp -u" command, that is not present in *BSD cp command. FreeBSD ports
have a patch to change cp to gcp and then depend on GNU coreutils, but as that
solution is suboptimal for us, I've prepared the attached patch.

The configure checks if cp -u is supported; if it is not (on *BSD), it checks
for the presence of rsync command (that also supports -u switch) and use that.
It could probably be improved to check the presence of gcp or other commands
that support a similar option; I've chosen rsync just because it's a system
package in Gentoo and is thus always present on the system.

HTH,
Diego


-- 
           Summary: [PATCH] Allow gjdoc to build without GNU cp (but with
                    rsync)
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gjdoc
        AssignedTo: julian at sektor37 dot de
        ReportedBy: flameeyes at gentoo dot org
  GCC host triplet: i686-gentoo-freebsd6.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30050





reply via email to

[Prev in Thread] Current Thread [Next in Thread]