pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
p5-PDL: honor LDFLAGS and fix perl path in installed binary.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Wed May 9 09:30:23 2018 +0200
Changeset: ecc46858cd8b2b8a1eb93b13006302c541b735cf
Modified Files:
p5-PDL/Makefile
p5-PDL/distinfo
Added Files:
p5-PDL/patches/patch-Makefile.PL
Log Message:
p5-PDL: honor LDFLAGS and fix perl path in installed binary.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ecc46858cd8b2b8a1eb93b13006302c541b735cf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
p5-PDL/Makefile | 1 +
p5-PDL/distinfo | 1 +
p5-PDL/patches/patch-Makefile.PL | 15 +++++++++++++++
3 files changed, 17 insertions(+)
diffs:
diff --git a/p5-PDL/Makefile b/p5-PDL/Makefile
index 89b09df0c4..2fbf049332 100644
--- a/p5-PDL/Makefile
+++ b/p5-PDL/Makefile
@@ -27,6 +27,7 @@ BUILD_DEPENDS+= p5-Test-Warn-[0-9]*:../../devel/p5-Test-Warn
PERL5_PACKLIST= auto/PDL/.packlist
MAKE_JOBS_SAFE= no
+REPLACE_PERL+= Perldl2/pdl2
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
diff --git a/p5-PDL/distinfo b/p5-PDL/distinfo
index 30f78d453a..79be1325d7 100644
--- a/p5-PDL/distinfo
+++ b/p5-PDL/distinfo
@@ -4,3 +4,4 @@ SHA1 (PDL-2.018.tar.gz) = 509cf495900a06c5d503ee98b2675a02a4adef79
RMD160 (PDL-2.018.tar.gz) = a9616fd7c8461832cd8fe194427ee4b5424eb885
SHA512 (PDL-2.018.tar.gz) = e6c45b8f2a5b4ab64611ad18288a784e38165231639445b5c96da6e735f15dcb463de7f4b164ff8309fc27939ec6cd2134ec0d6026ec9715cceb8f6094a2714b
Size (PDL-2.018.tar.gz) = 2892896 bytes
+SHA1 (patch-Makefile.PL) = e629fabc43ffaa688914e4606b23e56c51dab739
diff --git a/p5-PDL/patches/patch-Makefile.PL b/p5-PDL/patches/patch-Makefile.PL
new file mode 100644
index 0000000000..b8e15dc4cd
--- /dev/null
+++ b/p5-PDL/patches/patch-Makefile.PL
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Honor LDFLAGS.
+
+--- Makefile.PL.orig 2017-04-30 16:32:41.000000000 +0000
++++ Makefile.PL
+@@ -584,7 +584,7 @@ EOPS
+ # support the `$<` variable in explicit rules
+ $text .= <<EOT if $^O !~ /MSWin/;
+ pdl$Config::Config{exe_ext} : pdl.c
+- \$(CC) \$(CFLAGS) \$(CPPFLAGS) pdl.c -o \$\@
++ \$(CC) \$(CFLAGS) \$(LDFLAGS) \$(CPPFLAGS) pdl.c -o \$\@
+ EOT
+
+ $text .= << 'EOT' if $^O =~ /MSWin/;
Home |
Main Index |
Thread Index |
Old Index