summaryrefslogtreecommitdiff
path: root/science/pnetcdf/files/patch-src-utils-Makefile.in
blob: f91866b7caabaf5af309c999b528bae2ed592b06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/utils/Makefile.in.orig	2024-11-11 22:32:47 UTC
+++ src/utils/Makefile.in
@@ -856,7 +856,7 @@ install-exec-hook:
 # GNU autoconf allows DESTDIR variable when running 'make install' which will
 # prepend it before all installation names.
 install-exec-hook:
-	$(SED_I) -e 's|INSTALL_PREFIX|$(DESTDIR)$(prefix)|g ; s|INSTALL_EXEC_PREFIX|$(DESTDIR)$(exec_prefix)|g' $(DESTDIR)$(bindir)/pnetcdf-config
+	$(SED_I) -e 's|INSTALL_PREFIX|$(prefix)|g ; s|INSTALL_EXEC_PREFIX|$(exec_prefix)|g' $(DESTDIR)$(bindir)/pnetcdf-config
 	chmod +x $(DESTDIR)$(bindir)/pnetcdf-config
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.