Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
91ef82f2
Commit
91ef82f2
authored
Mar 02, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: use sed -i where possible
parent
f59d1f4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+4
-6
No files found.
extras/contrib/src/Makefile
View file @
91ef82f2
...
@@ -253,8 +253,7 @@ perl-$(PERL_VERSION).tar.gz:
...
@@ -253,8 +253,7 @@ perl-$(PERL_VERSION).tar.gz:
perl
:
perl-$(PERL_VERSION).tar.gz
perl
:
perl-$(PERL_VERSION).tar.gz
$(EXTRACT_GZ)
$(EXTRACT_GZ)
mv
perl/hints/beos.sh perl/hints/beos.sh.orig
sed
-i
.orig
's%prefix="/boot/home/config"%prefix="
$(PREFIX)
"%'
perl/hints/beos.sh
sed
's%prefix="/boot/home/config"%prefix="
$(PREFIX)
"%'
< perl/hints/beos.sh.orig
>
perl/hints/beos.sh
.perl
:
perl
.perl
:
perl
(
cd
$<
;
./Configure
-d
-e
&&
make
&&
make
install
&&
ln
-sf
perl5/
$(PERL_VERSION)
/BePC-beos/CORE/libperl.so
$(PREFIX)
/lib/libperl.so
)
(
cd
$<
;
./Configure
-d
-e
&&
make
&&
make
install
&&
ln
-sf
perl5/
$(PERL_VERSION)
/BePC-beos/CORE/libperl.so
$(PREFIX)
/lib/libperl.so
)
...
@@ -373,7 +372,7 @@ endif
...
@@ -373,7 +372,7 @@ endif
ifeq
($(BUILD),i586-pc-beos)
ifeq
($(BUILD),i586-pc-beos)
# The ugliest kludge ever - so libtool correctly links shared libraries
# The ugliest kludge ever - so libtool correctly links shared libraries
# on BeOS. Sorry, I just can't figure out how libtool works
# on BeOS. Sorry, I just can't figure out how libtool works
(
cd
$<
&&
for
f
in
`find
.
-name
libtool`;
do
mv
$$f
$$f.orig;
sed
-e
's/ -shared / -nostart /'
-e
's/^predep_objects.*/predep_objects=""/'
<
$$f.orig
>
$$f;
chmod
+x
$$f;
rm
$$f.orig
;
done
)
(
cd
$<
&&
for
f
in
`find
.
-name
libtool`;
do
sed
-e
's/ -shared / -nostart /'
-e
's/^predep_objects.*/predep_objects=""/'
-i
$$f;
chmod
+x
$$f
;
done
)
endif
endif
ifneq
($(HOST),$(BUILD))
ifneq
($(HOST),$(BUILD))
# We'll use the installed gettext and only need to cross-compile libintl
# We'll use the installed gettext and only need to cross-compile libintl
...
@@ -384,7 +383,7 @@ else
...
@@ -384,7 +383,7 @@ else
endif
endif
# Work around another non-sense of autoconf.
# Work around another non-sense of autoconf.
ifdef
HAVE_WIN32
ifdef
HAVE_WIN32
(cd
../include;
sed
-i.
bak
'283 c #if !1'
libintl.h)
(cd
../include;
sed
-i.
orig
'283 c #if !1'
libintl.h)
endif
endif
$(INSTALL_NAME)
$(INSTALL_NAME)
touch
$@
touch
$@
...
@@ -1018,8 +1017,7 @@ live: live555-$(LIVEDOTCOM_VERSION).tar.gz
...
@@ -1018,8 +1017,7 @@ live: live555-$(LIVEDOTCOM_VERSION).tar.gz
.live
:
live
.live
:
live
ifeq
($(HOST),powerpc-apple-darwin8)
ifeq
($(HOST),powerpc-apple-darwin8)
(
cd
$<
;
mv
config.macosx config.macosx.orig
)
(
cd
$<
;
sed
-e
's%EXTRA_CFLAGS%
$(EXTRA_CFLAGS)
%'
-e
's%EXTRA_LDFLAGS%
$(EXTRA_LDFLAGS)
%'
-i
.orig config.macosx
)
(
cd
$<
;
sed
-e
's%EXTRA_CFLAGS%
$(EXTRA_CFLAGS)
%'
-e
's%EXTRA_LDFLAGS%
$(EXTRA_LDFLAGS)
%'
< config.macosx.orig
>
config.macosx
)
(
cd
$<
;
./genMakefiles macosx
&&
make
)
(
cd
$<
;
./genMakefiles macosx
&&
make
)
else
else
ifeq
($(HOST),powerpc-apple-darwin*)
ifeq
($(HOST),powerpc-apple-darwin*)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment