diff options
author | bapt <bapt@FreeBSD.org> | 2014-12-11 16:04:27 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-12-11 16:04:27 +0800 |
commit | b0a46e6924a0f239ee74e361021eaf31c0cae075 (patch) | |
tree | 84239e6f8a184b82b8b9280a8b9fbb7f56c2e19e /Mk | |
parent | a3cdd9695cd7797a46e5a8782c8cf91ac4d18326 (diff) | |
download | freebsd-ports-gnome-b0a46e6924a0f239ee74e361021eaf31c0cae075.tar.gz freebsd-ports-gnome-b0a46e6924a0f239ee74e361021eaf31c0cae075.tar.zst freebsd-ports-gnome-b0a46e6924a0f239ee74e361021eaf31c0cae075.zip |
Fix NO_ARCH in a way compatible with both pkg 1.3 and pkg 1.4
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 8e92d0436ebe..7e06abeabc74 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4864,7 +4864,8 @@ create-manifest: echo "}" ; \ echo "categories: [ ${CATEGORIES:u:S/$/,/} ]" ; \ l=${LICENSE_COMB} ; \ - [ -n "${NO_ARCH}" ] && echo "arch : `${PKG_BIN} config abi | ${CUT} -d: -f1,2`:*" ; \ + [ -n "${NO_ARCH}" ] && echo "arch : `${PKG_BIN} config abi | tr '[:upper:]' '[:lower:]' | ${CUT} -d: -f1,2`:*" ; \ + [ -n "${NO_ARCH}" ] && echo "abi : `${PKG_BIN} config abi | tr '[:upper:]' '[:lower:]' | ${CUT} -d: -f1,2`:*" ; \ echo "licenselogic: $${l:-single}" ; \ [ -z "${LICENSE}" ] || echo "licenses: [ ${LICENSE:u:S/$/,/} ]" ; \ [ -z "${USERS}" ] || echo "users: [ ${USERS:u:S/$/,/} ]" ; \ |