diff options
author | wiz <wiz@pkgsrc.org> | 2011-02-07 10:32:32 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-02-07 10:32:32 +0000 |
commit | f81c3611eee0686b093fdab5cb779dbe4866c061 (patch) | |
tree | d2d269da0d2cf5caa53d1d1c6b6d630ffdbe89a3 | |
parent | 73bb62bfe01086f7429e0184eaa96a41081c2cdc (diff) | |
download | pkgsrc-f81c3611eee0686b093fdab5cb779dbe4866c061.tar.gz |
Handle '-' in uname output, needed for DragonFly. From Justin Sherrill in PR 44526.
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 278f3960f53..3317ed1d970 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1975 2010/11/03 18:02:40 adam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1976 2011/02/07 10:32:32 wiz Exp $ # # This file is in the public domain. # @@ -640,7 +640,7 @@ _BIN_INSTALL_FLAGS+= -A .endif _BIN_INSTALL_FLAGS+= ${PKG_ARGS_ADD} -_SHORT_UNAME_R= ${:!${UNAME} -r!:C@\.([0-9]*)[_.].*@.\1@} # n.n[_.]anything => n.n +_SHORT_UNAME_R= ${:!${UNAME} -r!:C@\.([0-9]*)[_.-].*@.\1@} # n.n[_.]anything => n.n .include "install/bin-install.mk" |