Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 101756 Details for
Bug 154912
media-plugins/libvisual-plugins-0.4.0 emerge fail on AM_PROG_MKDIR_P macro
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch I've applied to make it work.
am_prog_mkdir_p.diff (text/plain), 2.71 KB, created by
Simon Frechette
on 2006-11-12 10:53:19 UTC
(
hide
)
Description:
Patch I've applied to make it work.
Filename:
MIME Type:
Creator:
Simon Frechette
Created:
2006-11-12 10:53:19 UTC
Size:
2.71 KB
patch
obsolete
>--- aclocal.m4.orig 2006-11-12 13:20:33.000000000 -0500 >+++ aclocal.m4 2006-11-12 13:22:45.000000000 -0500 >@@ -10011,3 +10011,65 @@ > ]) > > >+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. >+# >+# This file is free software; the Free Software Foundation >+# gives unlimited permission to copy and/or distribute it, >+# with or without modifications, as long as this notice is preserved. >+ >+# AM_PROG_MKDIR_P >+# --------------- >+# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. >+# >+# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories >+# created by `make install' are always world readable, even if the >+# installer happens to have an overly restrictive umask (e.g. 077). >+# This was a mistake. There are at least two reasons why we must not >+# use `-m 0755': >+# - it causes special bits like SGID to be ignored, >+# - it may be too restrictive (some setups expect 775 directories). >+# >+# Do not use -m 0755 and let people choose whatever they expect by >+# setting umask. >+# >+# We cannot accept any implementation of `mkdir' that recognizes `-p'. >+# Some implementations (such as Solaris 8's) are not thread-safe: if a >+# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' >+# concurrently, both version can detect that a/ is missing, but only >+# one can create it and the other will error out. Consequently we >+# restrict ourselves to GNU make (using the --version option ensures >+# this.) >+AC_DEFUN([AM_PROG_MKDIR_P], >+[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then >+ # We used to keeping the `.' as first argument, in order to >+ # allow $(mkdir_p) to be used without argument. As in >+ # $(mkdir_p) $(somedir) >+ # where $(somedir) is conditionally defined. However this is wrong >+ # for two reasons: >+ # 1. if the package is installed by a user who cannot write `.' >+ # make install will fail, >+ # 2. the above comment should most certainly read >+ # $(mkdir_p) $(DESTDIR)$(somedir) >+ # so it does not work when $(somedir) is undefined and >+ # $(DESTDIR) is not. >+ # To support the latter case, we have to write >+ # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), >+ # so the `.' trick is pointless. >+ mkdir_p='mkdir -p --' >+else >+ # On NextStep and OpenStep, the `mkdir' command does not >+ # recognize any option. It will interpret all options as >+ # directories to create, and then abort because `.' already >+ # exists. >+ for d in ./-p ./--version; >+ do >+ test -d $d && rmdir $d >+ done >+ # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. >+ if test -f "$ac_aux_dir/mkinstalldirs"; then >+ mkdir_p='$(mkinstalldirs)' >+ else >+ mkdir_p='$(install_sh) -d' >+ fi >+fi >+AC_SUBST([mkdir_p])])
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 154912
: 101756 |
101757