diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/strongswan/APKBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/main/strongswan/APKBUILD b/main/strongswan/APKBUILD index 986f5bb5ee..7788fcc7ef 100644 --- a/main/strongswan/APKBUILD +++ b/main/strongswan/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=strongswan pkgver=5.1.1 -pkgrel=2 +pkgrel=3 pkgdesc="IPsec-based VPN solution focused on security and ease of use, supporting IKEv1/IKEv2 and MOBIKE" url="http://www.strongswan.org/" arch="all" @@ -35,10 +35,12 @@ build() { # notes about configuration: # - try to keep options in ./configure --help order # - apk depends on openssl, so we use that - # - opnssl provides ciphers, randomness, etc + # - openssl provides ciphers, randomness, etc # -> disable all redundant in-tree copies - ./configure --prefix=/usr \ + # see http://wiki.strongswan.org/issues/516 for _GNU_SOURCE + CFLAGS="$CFLAGS -D_GNU_SOURCE"\ + ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --with-ipsecdir=/usr/lib/strongswan \ |