Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
mvapich2
mvapich2-0.9.8-destdir_fixes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mvapich2-0.9.8-destdir_fixes.patch of Package mvapich2
--- Makefile.in +++ Makefile.in @@ -114,7 +114,7 @@ if [ ! -d ${DESTDIR}${htmldir} ] ; then $(MKDIR_P) ${DESTDIR}${htmldir} ; fi if [ ! -d ${DESTDIR}${mandir} ] ; then $(MKDIR_P) ${DESTDIR}${mandir} ; fi if [ ! -d ${DESTDIR}${includedir} ] ; then $(MKDIR_P) ${DESTDIR}${includedir} ; fi - ${MAKE} install-local + ${MAKE} ${DESTDIR} install-local $(INSTALL_DATA) src/include/mpi.h ${DESTDIR}${includedir}/mpi.h if [ ! -d ${DESTDIR}${exec_prefix} ] ; then $(MKDIR_P) ${DESTDIR}${exec_prefix} ; fi if [ ! -d ${DESTDIR}${libdir} ] ; then $(MKDIR_P) ${DESTDIR}${libdir} ; fi @@ -419,7 +419,7 @@ install-preamble: @if [ "@ENABLE_SHLIB@" = none ] ; then\ found=no ; \ - for file in ${libdir}/lib*${MPILIBNAME}.so ; do \ + for file in $(DESTDIR)${libdir}/lib*${MPILIBNAME}.so ; do \ if [ -f $$file ] ; then \ echo "Remove $$file and rerun ${MAKE} install" ; \ found=yes ; \ @@ -431,11 +431,11 @@ install-local: -if [ "@BUILD_TVDLL@" = "yes" ] ; then \ $(INSTALL_DATA) src/mpi/debugger/libtvmpich2.@SHLIB_EXT@ \ - ${libdir}/libtvmpich2.@SHLIB_EXT@ ; fi - if test ! -d ${exec_prefix}/examples ; then \ - $(MKDIR_P) ${exec_prefix}/examples ; \ + $(DESTDIR)${libdir}/libtvmpich2.@SHLIB_EXT@ ; fi + if test ! -d $(DESTDIR)${exec_prefix}/examples ; then \ + $(MKDIR_P) $(DESTDIR)${exec_prefix}/examples ; \ fi - $(INSTALL_PROGRAM) examples/cpi ${exec_prefix}/examples/cpi + $(INSTALL_PROGRAM) examples/cpi $(DESTDIR)${exec_prefix}/examples/cpi install-devdocs: (cd doc && $(MAKE) install-devdocs)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor