summaryrefslogtreecommitdiffstats
path: root/el7/environment-modules-3.2.7-bindir.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-17 06:44:29 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-17 06:44:29 +0100
commit4bd31f0da05570e94b4d17c4de8f5cfe75fa65ca (patch)
tree0d8010c432defe6f7c81cb0981e670c6d3ae57cf /el7/environment-modules-3.2.7-bindir.patch
environment-modules: import from RHEL
Diffstat (limited to 'el7/environment-modules-3.2.7-bindir.patch')
-rw-r--r--el7/environment-modules-3.2.7-bindir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/el7/environment-modules-3.2.7-bindir.patch b/el7/environment-modules-3.2.7-bindir.patch
new file mode 100644
index 0000000..1efb0ee
--- /dev/null
+++ b/el7/environment-modules-3.2.7-bindir.patch
@@ -0,0 +1,11 @@
+--- modules-3.2.7/init/Makefile.in.bindir 2009-09-22 12:13:52.000000000 -0600
++++ modules-3.2.7/init/Makefile.in 2009-09-23 12:19:50.797470155 -0600
+@@ -404,7 +404,7 @@
+ sed -e "/@$(if $(subst 0,,$(WANTS_VERSIONING)),NOT,)VERSIONING\@/d; \
+ s,@$(if $(subst 0,,$(WANTS_VERSIONING)),,NOT)VERSIONING\@,,g; \
+ s,@prefix\@,${prefix},g; \
+- s,@bindir\@,${exec_prefix}/bin,g; \
++ s,@bindir\@,${bindir},g; \
+ s,@VERSION\@,@VERSION@,g; \
+ s,@BASEPREFIX\@,@BASEPREFIX@,g;" < $< > $@
+