aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Safarov <s.safarov@gmail.com>2019-08-27 11:35:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-09-05 15:36:48 +0000
commit2c7b31cfe3bb08cea4f4e258bffb5db4bf293434 (patch)
tree2b023aac18d9f07b570eab2705bf7299bb8aa655
parentefb9203c04a2a31b00e988451750b081be653698 (diff)
downloadaports-2c7b31cfe3bb08cea4f4e258bffb5db4bf293434.tar.bz2
aports-2c7b31cfe3bb08cea4f4e258bffb5db4bf293434.tar.xz
main/ldns: fixed pkgconfig file variables resolving
-rw-r--r--main/ldns/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/ldns/APKBUILD b/main/ldns/APKBUILD
index 0779d20597..1d75456edd 100644
--- a/main/ldns/APKBUILD
+++ b/main/ldns/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ldns
pkgver=1.7.1
-pkgrel=0
+pkgrel=1
pkgdesc="Lowlevel DNS(SEC) library"
url="http://nlnetlabs.nl/projects/ldns/"
arch="all"
@@ -43,18 +43,18 @@ package() {
mkdir -p "$pkgdir"/usr/lib/pkgconfig
cat > "$pkgdir"/usr/lib/pkgconfig/libldns.pc<<-EOF
prefix=/usr
- exec_prefix=\$prefix
- libdir=\$exec_prefix/lib
- includedir=\$prefix/include
+ exec_prefix=\${prefix}
+ libdir=\${exec_prefix}/lib
+ includedir=\${prefix}/include
Name: ldns
Description: Library for DNS programming
URL: http://www.nlnetlabs.nl/projects/ldns
- Version: $pkgver
+ Version: ${pkgver}
Requires.private: libcrypto
Libs: -L\${libdir} -lldns
Libs.private: -lcrypto
- Cflags: -I\$includedir
+ Cflags: -I\${includedir}
EOF
}