Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/perl-5.22.1.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
diff -ru perl-5.22.1.orig/installman perl-5.22.1/installman
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
--- perl-5.22.1.orig/installman	2017-11-17 23:35:34.386593179 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
+++ perl-5.22.1/installman	2017-11-17 23:03:41.388858972 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
@@ -146,9 +146,10 @@
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
 	    next;
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
 	}
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
 
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
-	if ($^O eq 'os2' || $^O eq 'amigaos' || $^O eq 'uwin' || $^O eq 'cygwin') {
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
+	#Fix me later?
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
+	#if ($^O eq 'os2' || $^O eq 'amigaos' || $^O eq 'uwin' || $^O eq 'cygwin' || $^O eq 'midipix') {
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
             $manpage =~ s#::#.#g;
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
-	}
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
+	#}
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
         my $tmp = "${mandir}/${manpage}.tmp";
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
 	$manpage = "${mandir}/${manpage}.${manext}";
Lucio Andrés Illanes Albornoz (arab, vxp) b5933a
 
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
diff -ru perl-5.22.1.orig/Makefile perl-5.22.1/Makefile
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
--- perl-5.22.1.orig/Makefile	2017-11-17 19:06:50.298908618 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
+++ perl-5.22.1/Makefile	2017-11-17 23:32:21.687695934 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
@@ -135,7 +135,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
 perl$x: perlmain$o $(LIBPERL) $(static_tgt) static.list ext.libs
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
 	$(eval extlibs=$(shell cat ext.libs))
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
 	$(eval statars=$(shell cat static.list))
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
-	$(CC) $(LDFLAGS) -o $@ $(filter %$o,$^) $(LIBPERL) $(statars) $(LIBS) $(extlibs)
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
+	$(CC) $(LDFLAGS) -o $@ $(filter %$o,$^) -L. -lperl $(statars) $(LIBS) $(extlibs)
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
 
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
 %$o: %.c config.h
Lucio Andrés Illanes Albornoz (arab, vxp) cf111b
 	$(CC) $(CFLAGS) -c -o $@ $<