build dependency on coreutils

Callum Gibson callumgibson at optusnet.com.au
Thu Dec 10 05:33:57 UTC 2009


Hi,

Can anyone explain why we have a build dependency on coreutils for the
openoffice.org port? I can't see why standard cp wouldn't work in place
of gnu cp. In fact, if built on Darwin, configure happily uses system cp
(which is an even older version of our cp).

Is there any reason we can't use the following patch in our port? I will
submit a PR if necessary.

--- configure.orig	2009-12-10 13:36:12.000000000 +1100
+++ configure	2009-12-10 13:35:39.000000000 +1100
@@ -23657,7 +23657,7 @@
	{ echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
    else
-      if test "$_os" = "Darwin" ; then
+      if test "$_os" = "Darwin" -o "$_os" = "FreeBSD" ; then
          GNUCP=''
          { echo "$as_me:$LINENO: result: no gnucp found - using the system's cp command" >&5
 echo "${ECHO_T}no gnucp found - using the system's cp command" >&6; }

References to the dependency in the port Makefile also need removing (in
BUILD_DEPENDS and CONFIGURE_ARGS).

regards,
    Callum

-- 

Callum Gibson @ home
http://members.optusnet.com.au/callumgibson/


More information about the freebsd-openoffice mailing list