aboutsummaryrefslogtreecommitdiffstats
path: root/main/nss
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-22 16:37:55 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-22 16:37:55 -0600
commit933c5939c1d55289ce7a7ea796e74656526ff5e9 (patch)
tree2bf658aaa38b0da929a2cd03a3a7b558ce57ad07 /main/nss
parent55436a42a8031c24b5306ae730eafe923de9804a (diff)
downloadaports-933c5939c1d55289ce7a7ea796e74656526ff5e9.tar.bz2
aports-933c5939c1d55289ce7a7ea796e74656526ff5e9.tar.xz
main/nss: put nss-config where it belongs
Diffstat (limited to 'main/nss')
-rw-r--r--main/nss/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/nss/APKBUILD b/main/nss/APKBUILD
index 2acb2d8167..b56e46f8c2 100644
--- a/main/nss/APKBUILD
+++ b/main/nss/APKBUILD
@@ -2,7 +2,7 @@
pkgname=nss
pkgver=3.12.8
_ver=3_12_8
-pkgrel=2
+pkgrel=3
pkgdesc="Mozilla Network Security Services"
url="http://www.mozilla.org/projects/security/pki/nss/"
arch="all"
@@ -51,7 +51,10 @@ build() {
}
package() {
+ replaces="nss-dev"
+
cd "$_builddir"
+
install -m755 -d "$pkgdir"/usr/lib/pkgconfig
install -m755 -d "$pkgdir"/usr/bin
install -m755 -d "$pkgdir"/usr/include/nss
@@ -111,6 +114,9 @@ dev() {
local i= j=
depends="$pkgname $depends_dev"
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/nss-config "$subpkgdir"/usr/bin
+
cd "$pkgdir" || return 0
for i in usr/include usr/lib/pkgconfig; do
if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then