summaryrefslogtreecommitdiffhomepage
path: root/patches/perl-5.22.1.local.patch
blob: 2113c540a824a54b6b97f557df6a11828eac3c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff -ru perl-5.22.1.orig/installman perl-5.22.1/installman
--- perl-5.22.1.orig/installman	2017-11-17 23:35:34.386593179 +0100
+++ perl-5.22.1/installman	2017-11-17 23:03:41.388858972 +0100
@@ -146,9 +146,10 @@
 	    next;
 	}
 
-	if ($^O eq 'os2' || $^O eq 'amigaos' || $^O eq 'uwin' || $^O eq 'cygwin') {
+	#Fix me later?
+	#if ($^O eq 'os2' || $^O eq 'amigaos' || $^O eq 'uwin' || $^O eq 'cygwin' || $^O eq 'midipix') {
             $manpage =~ s#::#.#g;
-	}
+	#}
         my $tmp = "${mandir}/${manpage}.tmp";
 	$manpage = "${mandir}/${manpage}.${manext}";
 
diff -ru perl-5.22.1.orig/Makefile perl-5.22.1/Makefile
--- perl-5.22.1.orig/Makefile	2017-11-17 19:06:50.298908618 +0100
+++ perl-5.22.1/Makefile	2017-11-17 23:32:21.687695934 +0100
@@ -135,7 +135,7 @@
 perl$x: perlmain$o $(LIBPERL) $(static_tgt) static.list ext.libs
 	$(eval extlibs=$(shell cat ext.libs))
 	$(eval statars=$(shell cat static.list))
-	$(CC) $(LDFLAGS) -o $@ $(filter %$o,$^) $(LIBPERL) $(statars) $(LIBS) $(extlibs)
+	$(CC) $(LDFLAGS) -o $@ $(filter %$o,$^) -L. -lperl $(statars) $(LIBS) $(extlibs)
 
 %$o: %.c config.h
 	$(CC) $(CFLAGS) -c -o $@ $<