Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] configure: use ./src instead of src
@ 2026-01-12  9:57 Nicolas George via ffmpeg-devel
  2026-01-12 14:03 ` [FFmpeg-devel] " James Almer via ffmpeg-devel
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas George via ffmpeg-devel @ 2026-01-12  9:57 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Nicolas George

Fix “do "src/doc/t2h.pm" failed, '.' is no longer in @INC; did you mean do "./src/doc/t2h.pm"?”
when we have such a symlink.

Signed-off-by: Nicolas George <george@nsup.org>
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 998b0292b8..46ae0297a3 100755
--- a/configure
+++ b/configure
@@ -4392,7 +4392,7 @@ mkdir -p ffbuild
 if test -f configure; then
     source_path=.
 elif test -f src/configure; then
-    source_path=src
+    source_path=./src
 else
     source_path=$(cd $(dirname "$0"); pwd)
     case "$source_path" in
@@ -6220,7 +6220,7 @@ link_name=$(mktemp -u $TMPDIR/name_XXXXXXXX)
 mkdir "$link_dest"
 $ln_s "$link_dest" "$link_name"
 touch "$link_dest/test_file"
-if [ "$source_path" != "." ] && [ "$source_path" != "src" ] && ([ ! -d src ] || [ -L src ]) && [ -e "$link_name/test_file" ]; then
+if [ "$source_path" != "." ] && [ "$source_path" != "./src" ] && ([ ! -d src ] || [ -L src ]) && [ -e "$link_name/test_file" ]; then
     # create link to source path
     [ -e src ] && rm src
     $ln_s "$source_path" src
-- 
2.51.0

_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [FFmpeg-devel] Re: [PATCH] configure: use ./src instead of src
  2026-01-12  9:57 [FFmpeg-devel] [PATCH] configure: use ./src instead of src Nicolas George via ffmpeg-devel
@ 2026-01-12 14:03 ` James Almer via ffmpeg-devel
  0 siblings, 0 replies; 2+ messages in thread
From: James Almer via ffmpeg-devel @ 2026-01-12 14:03 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: James Almer


[-- Attachment #1.1.1: Type: text/plain, Size: 1333 bytes --]

On 1/12/2026 6:57 AM, Nicolas George via ffmpeg-devel wrote:
> Fix “do "src/doc/t2h.pm" failed, '.' is no longer in @INC; did you mean do "./src/doc/t2h.pm"?”
> when we have such a symlink.

Ok, but i'm surprised it hasn't been an issue until now.

> 
> Signed-off-by: Nicolas George <george@nsup.org>
> ---
>   configure | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configure b/configure
> index 998b0292b8..46ae0297a3 100755
> --- a/configure
> +++ b/configure
> @@ -4392,7 +4392,7 @@ mkdir -p ffbuild
>   if test -f configure; then
>       source_path=.
>   elif test -f src/configure; then
> -    source_path=src
> +    source_path=./src
>   else
>       source_path=$(cd $(dirname "$0"); pwd)
>       case "$source_path" in
> @@ -6220,7 +6220,7 @@ link_name=$(mktemp -u $TMPDIR/name_XXXXXXXX)
>   mkdir "$link_dest"
>   $ln_s "$link_dest" "$link_name"
>   touch "$link_dest/test_file"
> -if [ "$source_path" != "." ] && [ "$source_path" != "src" ] && ([ ! -d src ] || [ -L src ]) && [ -e "$link_name/test_file" ]; then
> +if [ "$source_path" != "." ] && [ "$source_path" != "./src" ] && ([ ! -d src ] || [ -L src ]) && [ -e "$link_name/test_file" ]; then
>       # create link to source path
>       [ -e src ] && rm src
>       $ln_s "$source_path" src


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

[-- Attachment #2: Type: text/plain, Size: 163 bytes --]

_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-12 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-12  9:57 [FFmpeg-devel] [PATCH] configure: use ./src instead of src Nicolas George via ffmpeg-devel
2026-01-12 14:03 ` [FFmpeg-devel] " James Almer via ffmpeg-devel

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git