--- make.config.orig 2018-08-17 17:13:08 UTC +++ make.config @@ -55,8 +55,8 @@ COMPILE_DFTD3 := 1 # Set the compile time include and the link time library options for # dftd3-lib. Ignored if WITH_DFTD3 has been disabled or COMPILE_DFTD3 enabled. -DFTD3_INCS := -I/usr/local/include/dftd3-lib -DFTD3_LIBS := -L/usr/local/lib -ldftd3 +DFTD3_INCS := -I$(PREFIX)/include/dftd3-lib +DFTD3_LIBS := -L$(PREFIX)/lib -ldftd3 # Link time library options for linking ARPACK. Ignored if WITH_ARPACK was # disabled.