guru/sys-cluster/parallel-netcdf/files/parallel-netcdf-1.12.2-no-DESTDIR-for-info-clarity.patch
Alessandro Barbieri b10cbd7216
sys-cluster/parallel-netcdf: restrict tests, respect flags
Closes: https://bugs.gentoo.org/835036
Closes: https://bugs.gentoo.org/815742
Closes: https://bugs.gentoo.org/815739
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-03-31 16:35:04 +02:00

56 lines
2.6 KiB
Diff

--- a/Makefile.am
+++ b/Makefile.am
@@ -65,40 +65,40 @@
@echo '+----------------------------------------------------------------------------+'
@echo '|'
@echo '| PnetCDF has been successfully installed under'
- @echo '| $(DESTDIR)$(prefix)'
+ @echo '| $(prefix)'
@echo '|'
@echo '| * PnetCDF header files have been installed in'
- @echo '| $(DESTDIR)$(prefix)/include'
+ @echo '| $(prefix)/include'
@echo '| * PnetCDF library files have been installed in'
- @echo '| $(DESTDIR)$(exec_prefix)/lib'
+ @echo '| $(exec_prefix)/lib'
@echo '| * PnetCDF utility programs have been installed in'
- @echo '| $(DESTDIR)$(exec_prefix)/bin'
+ @echo '| $(exec_prefix)/bin'
@echo '| * PnetCDF man pages have been installed in'
- @echo '| $(DESTDIR)$(prefix)/share/man'
+ @echo '| $(prefix)/share/man'
@echo '|'
@echo '| To compile your PnetCDF programs, please add the following to the command'
@echo '| line, so the compiler can find the PnetCDF header files:'
- @echo '| -I$(DESTDIR)$(prefix)/include'
+ @echo '| -I$(prefix)/include'
@echo '|'
@if test "x$(has_fortran)" = xyes -a 'x$(FC_MODINC)' != 'x-I' ; then \
echo '| Add the following line to compile your Fortran programs' ; \
- echo '| $(FC_MODINC)$(DESTDIR)$(prefix)/include' ; \
+ echo '| $(FC_MODINC)$(prefix)/include' ; \
echo '|' ; \
fi
@echo '| Add the following line to link your program to PnetCDF library:'
- @echo '| -L$(DESTDIR)$(exec_prefix)/lib -lpnetcdf'
+ @echo '| -L$(exec_prefix)/lib -lpnetcdf'
@echo '|'
@if test "x$(enable_shared)" = xyes ; then \
echo '| Add the following to your run-time environment variable LD_LIBRARY_PATH,' ; \
echo '| when linking your executable with the PnetCDF shared libraries.' ; \
if test "x$(enable_netcdf4)" = xyes -a "x$(enable_adios)" = xyes ; then \
- echo '| $(DESTDIR)$(exec_prefix)/lib:$(netcdf4_libdir):$(adios_libdir)' ; \
+ echo '| $(exec_prefix)/lib:$(netcdf4_libdir):$(adios_libdir)' ; \
elif test "x$(enable_netcdf4)" = xyes ; then \
- echo '| $(DESTDIR)$(exec_prefix)/lib:$(netcdf4_libdir)' ; \
+ echo '| $(exec_prefix)/lib:$(netcdf4_libdir)' ; \
elif test "x$(enable_adios)" = xyes ; then \
- echo '| $(DESTDIR)$(exec_prefix)/lib:$(adios_libdir)' ; \
+ echo '| $(exec_prefix)/lib:$(adios_libdir)' ; \
else \
- echo '| $(DESTDIR)$(exec_prefix)/lib' ; \
+ echo '| $(exec_prefix)/lib' ; \
fi ; \
echo '|' ; \
fi