Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 103504 Details for
Bug 157389
dev-java/gjdoc: build assumes cp -u
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gjdoc-0.7.7-gcp.patch
gjdoc-0.7.7-gcp.patch (text/plain), 1.85 KB, created by
Diego Elio Pettenò (RETIRED)
on 2006-12-06 17:12:02 UTC
(
hide
)
Description:
gjdoc-0.7.7-gcp.patch
Filename:
MIME Type:
Creator:
Diego Elio Pettenò (RETIRED)
Created:
2006-12-06 17:12:02 UTC
Size:
1.85 KB
patch
obsolete
>Index: gjdoc-0.7.7/configure.ac >=================================================================== >--- gjdoc-0.7.7.orig/configure.ac >+++ gjdoc-0.7.7/configure.ac >@@ -101,6 +101,38 @@ AC_SUBST(jni_linkflag) > AM_CONDITIONAL([ENABLE_XMLDOCLET], [test x${enable_xmldoclet} = xyes]) > AM_CONDITIONAL([ENABLE_NATIVE], [test x${enable_native} = xyes]) > >+dnl Start testing for cp -u availability >+dnl Fallback to rsync otherwise >+ >+AC_MSG_CHECKING([for working cp -u]) >+ >+: ${TMPDIR=/tmp} >+{ >+ tmp=` >+ (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null >+ ` && test -n "$tmp" && test -d "$tmp" >+} || { >+ tmp=$TMPDIR/foo$$-$RANDOM >+ (umask 077 && mkdir "$tmp") >+} || AC_MSG_ERROR([Unable to create a temporary directory]) >+ >+touch "$tmp/origin" >+if cp -u "$tmp/origin" "$tmp/destination" 2>/dev/null; then >+ AC_MSG_RESULT([yes]) >+ CP_U="cp -u" >+else >+ AC_MSG_RESULT([no]) >+ AC_CHECK_PROG([CP_U], [rsync], [rsync -u]) >+fi >+ >+rm -rf "$tmp/origin" >+ >+if test "x$CP_U" = "x"; then >+ AC_MSG_ERROR([Unable to find a workign cp -u implementation.]) >+fi >+ >+AC_SUBST([CP_U]) >+ > AC_CONFIG_FILES([gjdoc.sh src/resources/version.properties], [chmod +x gjdoc.sh]) > > AC_OUTPUT([Makefile docs/Makefile]) >Index: gjdoc-0.7.7/Makefile.am >=================================================================== >--- gjdoc-0.7.7.orig/Makefile.am >+++ gjdoc-0.7.7/Makefile.am >@@ -385,7 +385,7 @@ gjdoc_resources_src = $(patsubst %, $(sr > > gnu-classpath-tools-gjdoc-$(VERSION).jar: $(srcdir)/gjdoc.manifest src/resources/version.properties $(gnu_classpath_tools_gjdoc_jar_CLASSES) $(gnu_classpath_tools_gjdoc_jar_GENCLASSES) $(gjdoc_resources_src) > for res in $(gjdoc_resources) ; \ >- do cp -u $(srcdir)/src/resources/$$res $$res ; done >+ do $(CP_U) $(srcdir)/src/resources/$$res $$res ; done > $(JAR) cfm $@ $(srcdir)/gjdoc.manifest \ > $(gjdoc_resources) \ > -C src/resources version.properties \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 157389
: 103504 |
103622