From cf111bc2a140338cf29ebec128d72d452006ea85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Fri, 17 Nov 2017 22:52:52 +0000 Subject: patches/perl-5.22.1.local.patch: always link against -lperl (via Redfoxmoon.) --- patches/perl-5.22.1.local.patch | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/patches/perl-5.22.1.local.patch b/patches/perl-5.22.1.local.patch index 765411eb..65fe7e6a 100644 --- a/patches/perl-5.22.1.local.patch +++ b/patches/perl-5.22.1.local.patch @@ -1,6 +1,6 @@ diff -ru perl-5.22.1.orig/installman perl-5.22.1/installman ---- perl-5.22.1.orig/installman 2015-10-17 14:32:14.000000000 +0200 -+++ perl-5.22.1/installman 2017-01-17 16:54:06.004016000 +0100 +--- 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; } @@ -14,3 +14,15 @@ diff -ru perl-5.22.1.orig/installman perl-5.22.1/installman 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,$^) -lperl $(statars) $(LIBS) $(extlibs) + + %$o: %.c config.h + $(CC) $(CFLAGS) -c -o $@ $< -- cgit v1.2.3