Ticket #16238: patch-Makefile.diff

File patch-Makefile.diff, 860 bytes (added by mf2k (Frank Schima), 16 years ago)
Line 
1--- Makefile.orig       2008-08-09 12:51:09.000000000 +0200
2+++ Makefile    2008-08-09 12:51:42.000000000 +0200
327c27
4< BINDIR=                       ${UNIX_BIN}
5---
6> BINDIR=                       ${DESTDIR}${UNIX_BIN}
735c35,36
8<
9---
10> FINAL_GISBASE:=${INST_DIR}
11> INST_DIR:=${DESTDIR}${INST_DIR}
12253c254
13<       -sed -e "s#^GISBASE.*#GISBASE=${INST_DIR}#" ${ARCH_BINDIR}/grass${GRASS_VERSION_MAJOR}${GRASS_VERSION_MINOR} > ${BINDIR}/grass${GRASS_VERSION_MAJOR}${GRASS_VERSION_MINOR}
14---
15>       -sed -e "s#^GISBASE.*#GISBASE=${FINAL_GISBASE}#" ${ARCH_BINDIR}/grass${GRASS_VERSION_MAJOR}${GRASS_VERSION_MINOR} > ${BINDIR}/grass${GRASS_VERSION_MAJOR}${GRASS_VERSION_MINOR}
16284,286d284
17<       @# enable OSX Help Viewer
18<       @if [ "`cat include/Make/Platform.make | grep -i '^ARCH.*darwin'`" ] ; then /bin/ln -sfh "${INST_DIR}/docs/html" /Library/Documentation/Help/GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR} ; fi
19<