diff options
-rw-r--r-- | nss/Pkgfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nss/Pkgfile b/nss/Pkgfile index 6b5be4b0c..6613456f9 100644 --- a/nss/Pkgfile +++ b/nss/Pkgfile @@ -5,7 +5,7 @@ name=nss version=3.16 -release=1 +release=2 source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_16_RTM/src/$name-$version.tar.gz \ nss-config.in nss.pc.in) @@ -49,7 +49,8 @@ build() { install -m 0755 $SRC/nss-config.in $PKG/usr/bin/nss-config - sed -i "s/@VERSION@/$version/" $PKG/usr/bin/nss-config + _version=$(printf "%i.%i.%i" ${version//./ }) + sed -i "s/@VERSION@/$_version/" $PKG/usr/bin/nss-config NSS_LIBS=`$PKG/usr/bin/nss-config --libs` NSS_CFLAGS=`$PKG/usr/bin/nss-config --cflags` |