Navigation Menu

Skip to content

Commit

Permalink
freebsd: fix DISTVERSION version has > 7 characters (e.g. 18.2.10)
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Jul 17, 2020
1 parent 757d1dd commit 579e0b2
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -46,8 +46,7 @@ SHEBANG_FILES= ${WRKSRC}/core/src/cats/make_catalog_backup.pl.in


PLIST_SUB+= LIBVERSION=${DISTVERSION:C/\..*//} # major version
PLIST_SUB+= DISTVERSION=${DISTVERSION:C/(.{6}).*/\1/} # full version

PLIST_SUB+= DISTVERSION=${DISTVERSION:C/([0-9]+\.[0-9]+\.[0-9]+).*/\1/} # full version
USES+=ssl
USES+=gettext-runtime
USES+=readline
Expand Down

0 comments on commit 579e0b2

Please sign in to comment.