Browse Source

lang/perl: Fixup formatting

Signed-off-by: Marcel Denia <naoir@gmx.net>
Marcel Denia 10 years ago
parent
commit
7534bea197
3 changed files with 8 additions and 9 deletions
  1. +5
    -6
      lang/perl/Makefile
  2. +2
    -2
      lang/perl/files/Module/ScanDeps.pm
  3. +1
    -1
      lang/perl/files/strippm.sh

+ 5
- 6
lang/perl/Makefile View File

@ -45,7 +45,7 @@ $(call Package/perl/Default)
endef endef
define Package/microperl/description define Package/microperl/description
A perl package without operating-specific functions such as readdir.
A perl package without operating-specific functions such as readdir.
endef endef
define Build/Template define Build/Template
@ -87,9 +87,9 @@ $(call Package/perl/Default)
endef endef
define Package/perl/description define Package/perl/description
Perl is a stable, cross platform programming language.
It is used for mission critical projects in the public and private sectors
and is widely used to program web applications of all needs.
Perl is a stable, cross platform programming language.
It is used for mission critical projects in the public and private sectors
and is widely used to program web applications of all needs.
endef endef
define Build/perl/Configure define Build/perl/Configure
@ -140,10 +140,9 @@ define Build/perl/Compile
# been generated if we weren't cross compiling # been generated if we weren't cross compiling
echo -e 'miniperl.target:\n\t$$$$(CC) $$$$(CLDFLAGS) -o miniperl.target $$$$(mini_obj) $$$$(libs)' >> $(PKG_BUILD_DIR)/Makefile echo -e 'miniperl.target:\n\t$$$$(CC) $$$$(CLDFLAGS) -o miniperl.target $$$$(mini_obj) $$$$(libs)' >> $(PKG_BUILD_DIR)/Makefile
+$(MAKE) $(MAKE_J) -C $(PKG_BUILD_DIR) miniperl.target +$(MAKE) $(MAKE_J) -C $(PKG_BUILD_DIR) miniperl.target
mkdir -p $(PKG_BUILD_DIR)/target-bin mkdir -p $(PKG_BUILD_DIR)/target-bin
install -m 0755 $(PKG_BUILD_DIR)/miniperl.target $(PKG_BUILD_DIR)/target-bin/miniperl install -m 0755 $(PKG_BUILD_DIR)/miniperl.target $(PKG_BUILD_DIR)/target-bin/miniperl
@echo @echo
@echo "===> Stage 5: Build target perl binary" @echo "===> Stage 5: Build target perl binary"
@echo @echo


+ 2
- 2
lang/perl/files/Module/ScanDeps.pm View File

@ -14,7 +14,7 @@ use base 'Exporter';
use constant dl_ext => ".$Config{dlext}"; use constant dl_ext => ".$Config{dlext}";
use constant lib_ext => $Config{lib_ext}; use constant lib_ext => $Config{lib_ext};
use constant is_insensitive_fs => ( use constant is_insensitive_fs => (
-s $0
-s $0
and (-s lc($0) || -1) == (-s uc($0) || -1) and (-s lc($0) || -1) == (-s uc($0) || -1)
and (-s lc($0) || -1) == -s $0 and (-s lc($0) || -1) == -s $0
); );
@ -342,7 +342,7 @@ my %Preload = (
) { ) {
return $_ if _find_in_inc($_); return $_ if _find_in_inc($_);
} }
for ( for (
"$archlib/pods/perldiag.pod", "$archlib/pods/perldiag.pod",
"$privlib/pods/perldiag-$Config{version}.pod", "$privlib/pods/perldiag-$Config{version}.pod",


+ 1
- 1
lang/perl/files/strippm.sh View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
#
#
# Attempt to strip comments and pod docs from perl modules # Attempt to strip comments and pod docs from perl modules
# #


Loading…
Cancel
Save