Fix build if math/pari is installed.

PR:		217233
Submitted by:	w schwarzenfeld utanet at
Reported by:	nico lifeisabug com
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2017-02-24 14:22:12 +00:00
parent 9eda7c795c
commit ad6fe07f41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434719

View File

@ -16,7 +16,7 @@
&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',
+ INC => '-I$(PARI_DIR)/src',
NAME => 'Math::Pari',
($common::parilib ? () :
(MYEXTLIB => 'libPARI/libPARI$(LIB_EXT)')),