aboutsummaryrefslogtreecommitdiff
path: root/science/quantum-espresso/files/patch-Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-07-19 10:18:07 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-07-19 10:18:07 +0000
commitf5bf536f203c2a52b3f69259a31991708b8426f2 (patch)
tree5a7cb3d3284893607c2976a6a7f04d222b41503a /science/quantum-espresso/files/patch-Makefile
parenta72cb5313433c08d79d271f0afd970c8ffe5f1c5 (diff)
downloadports-f5bf536f203c2a52b3f69259a31991708b8426f2.tar.gz
ports-f5bf536f203c2a52b3f69259a31991708b8426f2.zip
Notes
Diffstat (limited to 'science/quantum-espresso/files/patch-Makefile')
-rw-r--r--science/quantum-espresso/files/patch-Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/science/quantum-espresso/files/patch-Makefile b/science/quantum-espresso/files/patch-Makefile
new file mode 100644
index 000000000000..f2c2f53b3d84
--- /dev/null
+++ b/science/quantum-espresso/files/patch-Makefile
@@ -0,0 +1,23 @@
+--- Makefile.orig 2018-07-19 01:55:24 UTC
++++ Makefile
+@@ -264,11 +264,11 @@ links : bindir
+ #########################################################
+
+ install :
+- @if test -d bin ; then mkdir -p $(PREFIX)/bin ; \
++ @if test -d bin ; then mkdir -p $(DESTDIR)$(PREFIX)/bin ; \
+ for x in `find * ! -path "test-suite/*" -name *.x -type f` ; do \
+- cp $$x $(PREFIX)/bin/ ; done ; \
++ cp $$x $(DESTDIR)$(PREFIX)/bin/ ; done ; \
+ fi
+- @echo 'Quantum ESPRESSO binaries installed in $(PREFIX)/bin'
++ @echo 'Quantum ESPRESSO binaries installed in $(DESTDIR)$(PREFIX)/bin'
+
+ #########################################################
+ # Run test-suite for numerical regression testing
+@@ -376,3 +376,5 @@ doc_clean :
+ depend: libiotk
+ @echo 'Checking dependencies...'
+ - ( if test -x install/makedeps.sh ; then install/makedeps.sh ; fi)
++
++.PHONY: install