Skip to content

Commit a2cdc63

Browse files
committedSep 27, 2017
debian package: handle grass RC abis
1 parent ac890ba commit a2cdc63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ QGIS_PATCH=$(shell sed -ne 's/SET(CPACK_PACKAGE_VERSION_PATCH "\([0-9]*\)")/\1/p
5252
QGIS_ABI=$(QGIS_MAJOR).$(QGIS_MINOR).$(QGIS_PATCH)
5353
GRASS=grass$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1,2))
5454
GRASSVER=$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1))
55-
GRASSABI=$(subst .,,$(shell pkg-config --modversion grass))
55+
GRASSABI=$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1,2,3|sed -e 's/RC/-/'))
5656

5757
WITH_GLOBE=$(shell dpkg --compare-versions "$$(dpkg-query -W --showformat='$${Version}' libosgearth-dev)" ge 2.7 && dpkg --compare-versions "$$(dpkg-query -W --showformat='$${Version}' libosgearth-dev)" lt 2.8 && echo 1)
5858

0 commit comments

Comments
 (0)
Please sign in to comment.