ports/math/p5-Math-Pari/files/patch-Makefile.PL
Sergey Skvortsov cd65b94e0e * update to 2.010709, use dynamic library instead of static [1]
* take ownership (inactive maintainer)

PR:		ports/103297 [1]
Submitted by:	skv
Approved by:	portmgr (krion) [2]
2006-11-10 16:32:07 +00:00

22 lines
862 B
Perl

--- Makefile.PL.orig Wed May 31 12:39:28 2006
+++ Makefile.PL Fri Sep 15 13:45:27 2006
@@ -91,9 +91,9 @@
}
my %opts;
+ make_pod 'libPARI.pod', '-to_pod', $paridir; # Now the docs
unless ($common::parilib) {
build_tests $paridir; # Convert the test suite
- make_pod 'libPARI.pod', '-to_pod', $paridir; # Now the docs
make_pod 'libPARI.dumb.pod', '-to_dumb_pod', $paridir;
%opts = build_paricfg($paridir, $common::do_configure); # ... and paricfg.h
@@ -139,7 +139,7 @@
# the contents of the Makefile being created.
&WriteMakefile(
LIBS => $libs,
- INC => $extra_inc . ' -I$(PARI_DIR)/src/headers -I$(PARI_DIR)/src -I./libPARI',
+ INC => '-I$(PREFIX)/include/pari -I$(PARI_DIR)/src',
NAME => 'Math::Pari',
($common::parilib ? () :
(MYEXTLIB => 'libPARI/libPARI$(LIB_EXT)')),