Browse Source

lang/perl: Remove old static uudmap handling

Signed-off-by: Marcel Denia <naoir@gmx.net>
Marcel Denia 11 years ago
parent
commit
11dec6fc85
1 changed files with 0 additions and 49 deletions
  1. +0
    -49
      lang/perl/patches/100-static_uudmap.patch

+ 0
- 49
lang/perl/patches/100-static_uudmap.patch View File

@ -1,49 +0,0 @@
--- /dev/null
+++ b/generate_uudmap
@@ -0,0 +1,7 @@
+#!/bin/bash
+echo \{
+for i in {0..31}; do echo -n ' 0,'; done
+echo
+for i in {0..63}; do echo -n " $i,"; done
+echo
+echo \}
--- a/Makefile.micro
+++ b/Makefile.micro
@@ -173,13 +173,8 @@ uperlapi$(_O): $(HE) perlapi.c perlapi.h
uxsutils$(_O): $(HE) xsutils.c
$(CC) $(CCFLAGS) -o $@ $(CFLAGS) xsutils.c
-uudmap.h: generate_uudmap$(_X)
- $(RUN) ./generate_uudmap$(_X) >uudmap.h
-
-generate_uudmap$(_O): generate_uudmap.c
- $(CC) $(CCFLAGS) -o $@ $(CFLAGS) generate_uudmap.c
-
-generate_uudmap$(_X): generate_uudmap$(_O)
- $(LD) -o generate_uudmap $(LDFLAGS) generate_uudmap$(_O) $(LIBS)
+uudmap.h:
+ chmod a+x generate_uudmap
+ $(RUN) ./generate_uudmap >uudmap.h
# That's it, folks!
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -478,11 +478,13 @@ opmini\$(OBJ_EXT): opmini.c
globals\$(OBJ_EXT): uudmap.h
-uudmap.h: generate_uudmap\$(EXE_EXT)
- \$(RUN) ./generate_uudmap\$(EXE_EXT) >uudmap.h
+uudmap.h: generate_uudmap
+ chmod a+x generate_uudmap
+ \$(RUN) ./generate_uudmap >uudmap.h
-generate_uudmap\$(EXE_EXT): generate_uudmap\$(OBJ_EXT)
- \$(CC) -o generate_uudmap \$(LDFLAGS) generate_uudmap\$(OBJ_EXT) \$(libs)
+generate_uudmap:
+ cp ../generate_uudmap .
+ touch generate_uudmap
!GROK!THIS!
$spitshell >>Makefile <<'!NO!SUBS!'

Loading…
Cancel
Save