35 lines
1.5 KiB
Diff
35 lines
1.5 KiB
Diff
--- a/grass.pc.in
|
|
+++ b/grass.pc.in
|
|
@@ -2,13 +2,13 @@
|
|
#
|
|
# See also: grass --config
|
|
|
|
-prefix=@prefix@/grass-@GRASS_VERSION_MAJOR@.@GRASS_VERSION_MINOR@.@GRASS_VERSION_RELEASE@
|
|
-exec_prefix=@prefix@/grass-@GRASS_VERSION_MAJOR@.@GRASS_VERSION_MINOR@.@GRASS_VERSION_RELEASE@
|
|
-libdir=@prefix@/grass-@GRASS_VERSION_MAJOR@.@GRASS_VERSION_MINOR@.@GRASS_VERSION_RELEASE@/lib
|
|
-includedir=@prefix@/grass-@GRASS_VERSION_MAJOR@.@GRASS_VERSION_MINOR@.@GRASS_VERSION_RELEASE@/include
|
|
+prefix=@prefix@/grass
|
|
+exec_prefix=@prefix@/grass
|
|
+libdir=@prefix@/grass
|
|
+includedir=@prefix@/grass
|
|
|
|
Name: GRASS
|
|
Description: GRASS GIS
|
|
Version: @GRASS_VERSION_MAJOR@.@GRASS_VERSION_MINOR@.@GRASS_VERSION_RELEASE@
|
|
-Libs: -L@prefix@/grass-@GRASS_VERSION_MAJOR@.@GRASS_VERSION_MINOR@.@GRASS_VERSION_RELEASE@/lib -lgrass_gmath -lgrass_gis -lgrass_datetime -lgrass_gproj -lgrass_raster -lgrass_vector -lgrass_dbmibase -lgrass_dbmiclient -lm -lz
|
|
-Cflags: -I@prefix@/grass-@GRASS_VERSION_MAJOR@.@GRASS_VERSION_MINOR@.@GRASS_VERSION_RELEASE@/include
|
|
+Libs: -L@prefix@/grass/lib -lgrass_gmath -lgrass_gis -lgrass_datetime -lgrass_gproj -lgrass_raster -lgrass_vector -lgrass_dbmibase -lgrass_dbmiclient -lm -lz
|
|
+Cflags: -I@prefix@/grass/include
|
|
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -4243,7 +4243,7 @@
|
|
if test -n "$MACOSX_APP" ; then
|
|
INSTDIR='${prefix}'"/GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}.app/Contents/MacOS"
|
|
else
|
|
- INSTDIR='${prefix}'"/grass${GRASS_VERSION_MAJOR}${GRASS_VERSION_MINOR}"
|
|
+ INSTDIR='${prefix}'"/grass"
|
|
fi
|
|
|
|
|